Skip to content

Incorrect uopz_flags signature #9611

@pkly

Description

@pkly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions