Skip to content

Commit 7a96062

Browse files
committed
fix
1 parent f62b6a9 commit 7a96062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Playground/PhpdocCommentRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function processNode(Node $node, Scope $scope): array
3737
}
3838
}
3939

40-
if (!Strings::match($comment->getText(), '{(\s|^)@\w+(\s|$)}')) {
40+
if (Strings::match($comment->getText(), '{(\s|^)@\w+(\s|$)}') === null) {
4141
continue;
4242
}
4343

0 commit comments

Comments
 (0)