File tree Expand file tree Collapse file tree 1 file changed +12
-14
lines changed
Expand file tree Collapse file tree 1 file changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -4570,20 +4570,18 @@ private function processArgs(
45704570
45714571 $ lookForUnset = false ;
45724572 if ($ assignByReference ) {
4573- if ($ arg ->value instanceof Variable) {
4574- $ isBuiltin = false ;
4575- if ($ calleeReflection instanceof FunctionReflection && $ calleeReflection ->isBuiltin ()) {
4576- $ isBuiltin = true ;
4577- } elseif ($ calleeReflection instanceof ExtendedMethodReflection && $ calleeReflection ->getDeclaringClass ()->isBuiltin ()) {
4578- $ isBuiltin = true ;
4579- }
4580- if (
4581- $ isBuiltin
4582- || ($ parameterNativeType === null || !$ parameterNativeType ->isNull ()->no ())
4583- ) {
4584- $ scope = $ this ->lookForSetAllowedUndefinedExpressions ($ scope , $ arg ->value );
4585- $ lookForUnset = true ;
4586- }
4573+ $ isBuiltin = false ;
4574+ if ($ calleeReflection instanceof FunctionReflection && $ calleeReflection ->isBuiltin ()) {
4575+ $ isBuiltin = true ;
4576+ } elseif ($ calleeReflection instanceof ExtendedMethodReflection && $ calleeReflection ->getDeclaringClass ()->isBuiltin ()) {
4577+ $ isBuiltin = true ;
4578+ }
4579+ if (
4580+ $ isBuiltin
4581+ || ($ parameterNativeType === null || !$ parameterNativeType ->isNull ()->no ())
4582+ ) {
4583+ $ scope = $ this ->lookForSetAllowedUndefinedExpressions ($ scope , $ arg ->value );
4584+ $ lookForUnset = true ;
45874585 }
45884586 }
45894587
You can’t perform that action at this time.
0 commit comments