-
Notifications
You must be signed in to change notification settings - Fork 14
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
Incorrect warning Variable $var is undefined. #299
Comments
If I may answer - see #297. If you're using this via composer, it'll help if you upgrade to |
This will hopefully also be fixed by #298 |
This should be fixed now (it was due to the return types) but if you discover any more arrow functions behaving weird, please let me know! |
I guess not 😅 |
Ugh, sorry, yeah, that's the same as #300. Arrow function scope is hard. |
No problem at all :) Such quick fixes, thank you so much for your time and effort! |
v2.11.13 works, but since v2.11.14 the following code gives 2 warnings:
only the first arrow function reaches the last return in
getArrowFunctionOpenClose
The text was updated successfully, but these errors were encountered: