-
Notifications
You must be signed in to change notification settings - Fork 891
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
Why is migration adapter nullable? #2200
Comments
This most likely is due to legacy code expectations and can be fixed in a new major (1.0). |
It's only really possible that I think modifying the |
I found this commit, where many methods changed their return type to nullable. f385bbb
For example
AbstractMigration::getAdapter()
returnsnull
orAdapterInterface
.Is that even possible, that migration does not have adapter?
With static analysis (like phpstan) i must check everytime, that adapeter is not null...
The text was updated successfully, but these errors were encountered: