PHPStan reports: Variable $variableName
might not be defined in case is defined into a for
parentheses
#10978
-
Hi, This code may be not the best practices, but the variable should be always defined:
Error: Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
easygolabs
May 9, 2024
Replies: 1 comment
-
Pardon, it is related to the project strict rules. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
easygolabs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pardon, it is related to the project strict rules.