mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +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";
|
||
}
|
||
}
|
||
```
|