Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Oct 9, 2022

See https://psalm.dev/r/354eb7817b

This way there is no need to manually typehint each call to $schemaClosure in the calls.

Signed-off-by: Roeland Jago Douma <[email protected]>
@rullzer
Copy link
Member Author

rullzer commented Oct 10, 2022

who do I need to bribe to restart some of the drone tests?

@CarlSchwan
Copy link
Member

Ci failure is unrelated

@CarlSchwan CarlSchwan merged commit a02c8fe into master Oct 10, 2022
@CarlSchwan CarlSchwan deleted the psalm_fix_migration_generation branch October 10, 2022 09:57
@nickvergessen
Copy link
Member

Commented on the wrong PR:
#34488 (comment)

* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
* @param array $options
* @param Closure(): ISchemaWrapper $schemaClosure
g * @param array $options
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also this g 😿

Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants