Skip to content

[need help] array&callable annotation #3842

@pattisahusiwa

Description

@pattisahusiwa

Support question

How can I fix the error?

Parameter #1 $values of function check expects array(object|string, string), array&callable(): mixed given.

Replaced with array&callable will give

Function check() has parameter $values with no value type specified in iterable type array&callable

https://phpstan.org/r/5224db7e-74d8-4df2-9e52-035bf8f7f700

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