mirror of
https://github.com/danog/psalm.git
synced 2024-12-05 13:10:49 +01:00
13 lines
199 B
Markdown
13 lines
199 B
Markdown
# MixedPropertyAssignment
|
|
|
|
Emitted when assigning a property to a value for which Psalm cannot infer a type
|
|
|
|
```php
|
|
<?php
|
|
|
|
/** @param mixed $a */
|
|
function foo($a) : void {
|
|
$a->foo = "bar";
|
|
}
|
|
```
|