Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 231 Bytes

UndefinedThisPropertyAssignment.md

File metadata and controls

13 lines (10 loc) · 231 Bytes

UndefinedThisPropertyAssignment

Emitted when assigning a property on an object in one of that object’s methods when no such property exists

<?php

class A {
    function foo() {
        $this->foo = "bar";
    }
}