mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
10 lines
155 B
Markdown
10 lines
155 B
Markdown
|
# PossiblyNullFunctionCall
|
||
|
|
||
|
Emitted when trying to call a function on a value that may be null
|
||
|
|
||
|
```php
|
||
|
function foo(?callable $a) : void {
|
||
|
$a();
|
||
|
}
|
||
|
```
|