Skip to content

Error with latest patch #3409

@dereuromark

Description

@dereuromark

With latest patch the master branch has phpstan false positives on errors:

Method Cake\Http\ServerRequest::input() invoked with 0 parameters, at
least 1 required.

Code snippet that reproduces the problem

$data = $this->input();

and

public function input(?callable $callback = null, ...$args)
{
}

Expected output

No error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions