mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +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();