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