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

Dynamic vars #53

Closed
robopuff opened this issue Dec 29, 2016 · 3 comments
Closed

Dynamic vars #53

robopuff opened this issue Dec 29, 2016 · 3 comments

Comments

@robopuff
Copy link

Having that in code ${$param} = $value;, phpstan throws an error

         Internal error: Argument 1 passed to
         PHPStan\Analyser\Scope::assignVariable() must be of the type string,
         object given, called in
         vendor/phpstan/phpstan/src/Ana
         lyser/NodeScopeResolver.php on line 690
@ondrejmirtes
Copy link
Member

Please try the latest dev-master if the issue is still valid.

@robopuff
Copy link
Author

It seems to work, issue closed. Thanks!

@ondrejmirtes
Copy link
Member

Good to hear that!

@lock lock bot locked as resolved and limited conversation to collaborators Dec 21, 2019
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