Skip to content

Detect missing type-hints #3

Description

@rskuipers

In the following scenario, the assumption is made that $var has the function run(). This should be asserted by a type-hint, instanceof or method_exists

function func($var)
{
    $var->run();
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions