Skip to content
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

Closed
wants to merge 1 commit into from
Closed

[FIX] deprecated function use #250

wants to merge 1 commit into from

Conversation

atomatis
Copy link

@atomatis atomatis commented Dec 15, 2021

Fixes #249

*
* @return string
*/
private function getForegroundColourCode(bool $bright = false) : string
private function getForegroundColourCode(?bool $bright = false) : string
Copy link
Member

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;
Copy link
Member

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

@AydinHassan
Copy link
Member

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

@AydinHassan
Copy link
Member

hey @atomatis - while we really appreciate the PR - we're going to go with a different fix (more at the root) with #252 - sorry for wasting your time and hope you understand!

@atomatis
Copy link
Author

atomatis commented Dec 17, 2021

Hi, thank you for reactivity.
Sorry for my clumsy PR ^^'

It's ok. That will train me to do better next time :)

@AydinHassan
Copy link
Member

It's not clumsy at all, it pointed me in the right direction so thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Menu blink because deprecated warning.
2 participants