InfersUnpackedHelperCalls
trait InfersUnpackedHelperCalls
| internal |
Methods
Type|null
getUnpackedHelperType(FunctionReflection $functionReflection, FuncCall $functionCall, Scope $scope, Type|null $defaultType = null)
Get the type of a helper call whose unpacked lists may all be empty, leaving the first parameter at its default.
Details
at line 26
protected Type|null
getUnpackedHelperType(FunctionReflection $functionReflection, FuncCall $functionCall, Scope $scope, Type|null $defaultType = null)
Get the type of a helper call whose unpacked lists may all be empty, leaving the first parameter at its default.
Returns null when the call is not of that form, so the declared return type applies.