mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 21:19:03 +01:00
ea52b9d23a
While I was searching for some code, ran across these.
12 lines
180 B
Markdown
12 lines
180 B
Markdown
# UndefinedPropertyAssignment
|
|
|
|
Emitted when assigning a property on an object that does not have that property defined
|
|
|
|
```php
|
|
<?php
|
|
|
|
class A {}
|
|
$a = new A();
|
|
$a->foo = "bar";
|
|
```
|