-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
Labels
Description
Bug report
PHPStan detects an error where there is none as the signature seems to be based on the first example from https://www.php.net/manual/en/function.uopz-flags.php, where as the second one is also valid. ('' for class flags)
Code snippet that reproduces the problem
https://phpstan.org/r/d8a163b2-a3dc-4b6e-987d-b593449e1c87
Expected output
No error
Did PHPStan help you today? Did it make you happy in any way?
No response
Reactions are currently unavailable