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

Commit 1f20a7c

Browse files
committed
not change the second regex
1 parent 0470fd8 commit 1f20a7c

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
@@ -79,7 +79,7 @@ public static function scanControllerActionIds(array $controllers)
7979
continue;
8080
}
8181

82-
if (! preg_match('/class\s+(([a-z0-9_]+)Controller)[^{^\*]+{/i', $content, $classMatch)) {
82+
if (! preg_match('/class\s+(([a-z0-9_]+)Controller)[^{]+{/i', $content, $classMatch)) {
8383
continue;
8484
}
8585

0 commit comments

Comments
 (0)