Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 0c40696

Browse files
committed
Scan controller no comments
1 parent c0a057c commit 0c40696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/ScanHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static function scanControllerActionIds(array $controllers)
7575
continue;
7676
}
7777

78-
if (! preg_match('/class\s+(([a-z0-9_]+)Controller)[^{]+{/i', $content, $classMatch)) {
78+
if (! preg_match('/class\s+(([a-z0-9_]+)Controller)[^{^\*]+{/i', $content, $classMatch)) {
7979
continue;
8080
}
8181

0 commit comments

Comments
 (0)