Skip to content

Commit 227c038

Browse files
committed
[rector] Rector fixes
1 parent 7735765 commit 227c038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rules/CodeQuality/Rector/ClassMethod/ReplaceTestAnnotationWithPrefixedFunctionRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function refactor(Node $node): ?Node
8888

8989
$hasAnnotation = false;
9090
foreach(NewLineSplitter::split($docComment->getText()) as $row) {
91-
if (in_array(trim($row), ['*@test', '* @test'])) {
91+
if (in_array(trim($row), ['*@test', '* @test'], true)) {
9292
$hasAnnotation = true;
9393
break;
9494
}

0 commit comments

Comments
 (0)