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

Allow phpDoc type hinting local static variables - Closes #1440 #2098

Merged

Conversation

iluuu1994
Copy link
Contributor

No description provided.

@ondrejmirtes
Copy link
Member

I think the cache version in TypeNodeResolver needs to be bumped, otherwise it's awesome :)

@iluuu1994 iluuu1994 force-pushed the feature/static-var-php-doc-type branch from 2f31951 to b0a5ca0 Compare April 27, 2019 20:42
@iluuu1994
Copy link
Contributor Author

@ondrejmirtes Fixed

src/Analyser/NodeScopeResolver.php Outdated Show resolved Hide resolved
@iluuu1994 iluuu1994 force-pushed the feature/static-var-php-doc-type branch from b0a5ca0 to cd61a97 Compare April 27, 2019 20:49
@ondrejmirtes
Copy link
Member

Awesome, thanks!

@ondrejmirtes ondrejmirtes merged commit d9a1d9c into phpstan:master Apr 28, 2019
@iluuu1994 iluuu1994 deleted the feature/static-var-php-doc-type branch April 28, 2019 08:23
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.

None yet

2 participants