Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generic/UnusedFunctionParameter: remove unreacheable if condition
At this point in the code, there should always be a non-empty token after the return statement, even if only the scope closer, and thus the if condition will never be true. If there is a syntax error and there is nothing after the return, the code will never reach this point as in the beginning of the method the code checks if `$token['scope_opener']` is set and this only happens when there is also a scope_closer.
- Loading branch information