Skip to content

Commit 24ed385

Browse files
authored
Remove null coalesce (#31)
1 parent 1d76861 commit 24ed385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

VariableAnalysis/Sniffs/CodeAnalysis/VariableAnalysisSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ private function getPassByReferenceFunction(string $functionName) {
7979
$passByRefFunctions[$function] = explode(',', $args);
8080
}
8181
}
82-
return $passByRefFunctions[$functionName] ?? null;
82+
return isset($passByRefFunctions[$functionName]) ? $passByRefFunctions[$functionName] : null;
8383
}
8484

8585
/**

0 commit comments

Comments
 (0)