Skip to content
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

Static method existence not taken into account #5023

Closed
greg0ire opened this issue May 18, 2021 · 2 comments
Closed

Static method existence not taken into account #5023

greg0ire opened this issue May 18, 2021 · 2 comments

Comments

@greg0ire
Copy link

Feature request

The snippet below contains an assertion that should let PHPStan understand that it is OK to call loadMetadata IMO:

https://phpstan.org/r/aff36842-c175-46a7-b650-e66e64e5783e

@ondrejmirtes
Copy link
Member

Duplicate of #1267

@ondrejmirtes ondrejmirtes marked this as a duplicate of #1267 May 18, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants