Skip to content

False "unused private method" when used in static constructor/factory #558

Open
@roperto

Description

@roperto

Related to #253

See for example:

public static function create() {
    $obj = new static();
    $obj->a_private_method();
}

(I know it is over simplified, you could rewrite it, but that's just an example without all the boilerplate)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions