Skip to content

Rule to enforce document callables properly #1840

@paranoiq

Description

@paranoiq

A rule to disallow bare callable type hint and enforce proper callable type annotation with param types and return type - e.g. @param callable(int, string): bool $function would be nice. The world would be 0.035% better place, if we have this!

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