-
-
Notifications
You must be signed in to change notification settings - Fork 946
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
Problem with PHPStan #2101
Comments
Having the same problem Update:
for my understanding PHPStand doesn't interpret the if condition so it tries to load the |
btw, just found out this is a duplicate of api-platform/core#4614, and an issue has been already created on phpstan repo phpstan/phpstan#6386 guess this could be closed |
Well spotted, I hadn't found it! :-) Closing the issue then |
This is going to be fixed in PHPStan 1.4.2 which is going to be released soon. |
API Platform version(s) affected: 2.6.7
Description
After updating dependencies to last version, we get these errors in our PHPStan installation:
The PHPStan message isn't very clear, so I'm not sure of what causes the issue as the code inside
ClientTrait80
seems fine.Or is it the
static
return type on thewithOptions
method that raises such an alarm?We are running under PHP7.4
The text was updated successfully, but these errors were encountered: