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

add mixed return type #727

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add mixed return type #727

wants to merge 1 commit into from

Conversation

tacman
Copy link

@tacman tacman commented Feb 23, 2025

Pull Request

Related issue

Fixes #726

What does this PR do?

Gets rid of the deprecation notice. But I forget when 'mixed' was introduced and if this library is supporting a version of php that doesn't allow this.

@norkunas
Copy link
Collaborator

Would it work to resolve deprecation adding only phpdoc return typehint?

@tacman
Copy link
Author

tacman commented Feb 23, 2025

Probably. I see that 'mixed' is PHP 8 only.

PHP 7.4 reached EOL in 2022. What about simply bumping a new release and taking advantage of all the PHP 8 goodness?

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.

deprecation notice
2 participants