Skip to content

[DeadCode] Skip private property where it can be accessed magically #1974

@TomasVotruba

Description

@TomasVotruba
class SomeClass
{
    private $seemsUnused;
    
    public function getValue($magicName)
    {
        return $this->$magicName;
    }
}

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