Skip to content

Commit ad91baf

Browse files
committed
[ci-review] Rector Rectify
1 parent 1b36380 commit ad91baf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/PHPUnit100/Rector/Class_/RemoveNamedArgsInDataProviderRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function handleArray(Array_ $array): bool
128128
continue;
129129
}
130130

131-
if ($item->key === null) {
131+
if (! $item->key instanceof Expr) {
132132
continue;
133133
}
134134

0 commit comments

Comments
 (0)