-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] deprecated function use #250
Conversation
* | ||
* @return string | ||
*/ | ||
private function getForegroundColourCode(bool $bright = false) : string | ||
private function getForegroundColourCode(?bool $bright = false) : string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this changed? It doesn't seem related
@@ -509,8 +511,8 @@ private function generatePaddingTopBottomRows() : void | |||
); | |||
} | |||
|
|||
$this->paddingTopBottom = $this->paddingTopBottom >= 0 ? $this->paddingTopBottom : 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused how this even becomes null
Hi @atomatis - thanks for the PR! If you don't mind, i'd like to do a little debugging tomorrow to see if we are fixing this in the correct place |
Hi, thank you for reactivity. It's ok. That will train me to do better next time :) |
It's not clumsy at all, it pointed me in the right direction so thanks for your help! |
Fixes #249