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 support of false return type #137

Closed
Jeckerson opened this issue Feb 7, 2022 · 0 comments · Fixed by #138
Closed

Add support of false return type #137

Jeckerson opened this issue Feb 7, 2022 · 0 comments · Fixed by #138
Assignees

Comments

@Jeckerson
Copy link
Member

Since PHP8.0 it is possible to specify false as return type. Example:

public function gc(int $maxlifetime): int|false
{}
@Jeckerson Jeckerson self-assigned this Feb 7, 2022
Jeckerson added a commit that referenced this issue Feb 7, 2022
Jeckerson added a commit that referenced this issue Feb 7, 2022
Jeckerson added a commit that referenced this issue Feb 7, 2022
Jeckerson added a commit that referenced this issue Feb 7, 2022
Jeckerson added a commit that referenced this issue Feb 7, 2022
@Jeckerson Jeckerson linked a pull request Feb 7, 2022 that will close this issue
3 tasks
Jeckerson added a commit that referenced this issue Feb 7, 2022
Jeckerson added a commit that referenced this issue Feb 7, 2022
AlexNDRmac added a commit that referenced this issue Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant