-
-
Notifications
You must be signed in to change notification settings - Fork 978
Closed
Description
API Platform version(s) affected: 2.6.7
Description
After updating dependencies to last version, we get these errors in our PHPStan installation:
ParseError (syntax error, unexpected 'static' (T_STATIC)) thrown
while looking for class ApiPlatform\Core\Util\ClientTrait80.
💡 Learn more at https://phpstan.org/user-guide/discovering-symbols
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 the withOptions method that raises such an alarm?
We are running under PHP7.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels