Skip to content

Conversation

@staabm
Copy link
Contributor

@staabm staabm commented Apr 1, 2022

on my way working thru the psalm stubs with conditional types.

found this one, which doesn't need a conditional type on phpstan-side

see https://www.php.net/show_source

],
[
'bool|string',
'show_source()',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied the expectations of highlight_file, a few lines above

@ondrejmirtes ondrejmirtes merged commit f5bb0f6 into phpstan:1.5.x Apr 2, 2022
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the show-source-signature branch April 2, 2022 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants