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 PHP 8.4 deprecations #344

Closed
wants to merge 2 commits into from

Conversation

gnito-org
Copy link

No description provided.

@@ -24,7 +24,7 @@ class LoggableGenerator implements GeneratorInterface
* @param GeneratorInterface $generator
* @param LoggerInterface $logger
*/
public function __construct(GeneratorInterface $generator, LoggerInterface $logger = null)
public function __construct(GeneratorInterface $generator, ?LoggerInterface $logger = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update phpdoc as well to null|LoggerInterface please?

@Chris53897
Copy link
Contributor

Thanks @gnito-org
I have no clue why CI is failing.
Could you please close and reopen this PR?

@Chris53897
Copy link
Contributor

i have created a new PR with the same changes. CI is green
#346

@gnito-org gnito-org closed this Jan 13, 2025
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.

3 participants