PossiblyInvalidFunctionCall
March 20, 2020 ยท View on GitHub
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();
March 20, 2020 ยท View on GitHub
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();