We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f62b6a9 commit 7a96062Copy full SHA for 7a96062
src/Rules/Playground/PhpdocCommentRule.php
@@ -37,7 +37,7 @@ public function processNode(Node $node, Scope $scope): array
37
}
38
39
40
- if (!Strings::match($comment->getText(), '{(\s|^)@\w+(\s|$)}')) {
+ if (Strings::match($comment->getText(), '{(\s|^)@\w+(\s|$)}') === null) {
41
continue;
42
43
0 commit comments