mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 02:47:02 +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";
|
|
}
|
|
```
|