Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Nov 17, 2024

just stumbled over this untyped parameter

Scope $scope,
bool $isBuiltin,
$funcCall,
Expr\CallLike $funcCall,
Copy link
Member

Choose a reason for hiding this comment

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

Please use exactly the union type in the PHPDoc. CallLike is wider than that - there are more classes there that are not supposed to be passed into FunctionCallParametersCheck.

@ondrejmirtes ondrejmirtes changed the base branch from 1.12.x to 2.0.x November 17, 2024 13:31
@ondrejmirtes
Copy link
Member

I rebased on 2.0.x (no reason to do this on 1.12.x, I'd be a bit afraid). But there's a conflict now :)

@staabm
Copy link
Contributor Author

staabm commented Nov 17, 2024

rebased

@ondrejmirtes ondrejmirtes merged commit 30d20e6 into phpstan:2.0.x Nov 17, 2024
424 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@staabm staabm deleted the native-type branch November 17, 2024 16:37
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.

2 participants