Bug report
You can combine constants for PDOStatement fetchAll and setFetchMode $mode aparameter but PHPStan reports this as an error unless you use named arguments.
Examples of bitmask usage in PHP docs Fetch Modes
Code snippet that reproduces the problem
https://phpstan.org/r/5d989d39-565d-4ea8-b2b6-1bbe3e2b39bd
Expected output
No errors.
Did PHPStan help you today? Did it make you happy in any way?
No response
Bug report
You can combine constants for PDOStatement fetchAll and setFetchMode $mode aparameter but PHPStan reports this as an error unless you use named arguments.
Examples of bitmask usage in PHP docs Fetch Modes
Code snippet that reproduces the problem
https://phpstan.org/r/5d989d39-565d-4ea8-b2b6-1bbe3e2b39bd
Expected output
No errors.
Did PHPStan help you today? Did it make you happy in any way?
No response