1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-05 13:10:49 +01:00
psalm/docs/running_psalm/issues/UndefinedPropertyAssignment.md
Tom Klingenberg ea52b9d23a
Fix minor typos in docs (#3956)
While I was searching for some code, ran across these.
2020-08-08 08:09:41 -04:00

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";
```