改名
This commit is contained in:
@@ -108,6 +108,9 @@ abstract class BaseAnnotation extends Component
|
||||
{
|
||||
$array = [];
|
||||
foreach ($annotations as $annotation) {
|
||||
if (!$comment) {
|
||||
continue;
|
||||
}
|
||||
preg_match('/@(' . $annotation . ')\((.*?)\)/', $comment, $events);
|
||||
if (!isset($events[1])) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user