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 2353a68 commit 218b659Copy full SHA for 218b659
src/parses/ParseAnnotation.php
@@ -121,7 +121,7 @@ public function getClassAnnotation($refClass){
121
$attributes = [];
122
}
123
$readerAttributes = $this->parser->getClassAnnotations($refClass);
124
- return $this->getParameters([...$attributes,...$readerAttributes]);
+ return $this->getParameters(array_merge($attributes,$readerAttributes));
125
126
127
/**
@@ -136,7 +136,7 @@ public function getMethodAnnotation(ReflectionMethod $refMethod){
136
137
138
$readerAttributes = $this->parser->getMethodAnnotations($refMethod);
139
140
141
142
0 commit comments