mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
14 lines
231 B
Markdown
14 lines
231 B
Markdown
# UndefinedThisPropertyAssignment
|
||
|
||
Emitted when assigning a property on an object in one of that object’s methods when no such property exists
|
||
|
||
```php
|
||
<?php
|
||
|
||
class A {
|
||
function foo() {
|
||
$this->foo = "bar";
|
||
}
|
||
}
|
||
```
|