Skip to content

Code quality issue in Phalcon\Events\ManagerInterface.zep #16817

@tashik

Description

@tashik

phalcon/ide-stubs generate Phalcon\Events\ManagerInterface.php stub with no priority parameter for attach method, that is why static analyzers like Phpstan register a code quality issue when Phalcon\Events\Manager is used:

message: '#^Method Phalcon\Events\ManagerInterface::attach() invoked with 3 parameters, 2 required.$#'
identifier: arguments.count

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    Status
    Released

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions