mirror of
https://github.com/danog/psalm.git
synced 2024-12-11 16:59:45 +01:00
190 B
190 B
PossiblyInvalidFunctionCall
Emitted when trying to call a function on a value that may not be callable
<?php
$a = rand(0, 1) ? 5 : function() : int { return 5; };
$b = $a();