-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix typehints for generated migrations #34487
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
Conversation
Signed-off-by: Roeland Jago Douma <[email protected]>
|
who do I need to bribe to restart some of the drone tests? |
|
Ci failure is unrelated |
|
Commented on the wrong PR: |
| * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` | ||
| * @param array $options | ||
| * @param Closure(): ISchemaWrapper $schemaClosure | ||
| g * @param array $options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this g 😿
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we still generate this for every new migration
See https://psalm.dev/r/354eb7817b
This way there is no need to manually typehint each call to $schemaClosure in the calls.