-
Notifications
You must be signed in to change notification settings - Fork 13
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
Incorrect native parameter type on nullable setters in mutable models #50
Labels
bug
Something isn't working
Comments
I've added fixes for this issue and issue #51 to the master branch and tagged version 0.21.6 which includes the fixes. |
Hi @dktapps, thanks for the report, again. Cheers. |
Alright, thanks for the update. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Nullable field setters don't correctly account for
null
when generating typehints.Again, found by PHPStan.
Expected behavior
setDisableBlockTicking()
should acceptnull
.Schema
Config: https://github.com/pmmp/DataModels/blob/3f398d966d5180d68e33c8f4054ab592094ea54c/generate-schemas.php
Version:
0.21.5.
The text was updated successfully, but these errors were encountered: