function extractCallableInferred()

in testData/codeInsight/typeInference/AdvancedCallableInferred.php [41:48]


function extractCallableInferred(callable $key1){
    <type value="Bar">$aa</type> = extractCallableReturnTemplate(function () {
        return new Foo;
    })->aa();

    $c = fn() => new Foo;
    <type value="Bar">$x</type> = extractCallableReturnTemplate($c)->aa();
}