Skip to content

Commit 3dc315f

Browse files
committed
Fix php syntax on php 7.4 compat
1 parent 416312e commit 3dc315f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/Rector/UnderscoreToCamelCaseVariableNameRector.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ function (Node $subNode) {
111111
return null;
112112
}
113113

114-
private function processRenameVariable(FunctionLike|Variable $node): ?Variable
114+
/**
115+
* @param FunctionLike|Variable $node
116+
*/
117+
private function processRenameVariable(Node $node): ?Variable
115118
{
116119
if ($node instanceof FunctionLike) {
117120
if ($node instanceof Closure) {

0 commit comments

Comments
 (0)