@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | throw AnnotationException::optimizerPlusSaveComments(); |
121 | 121 | } |
122 | 122 | |
123 | - AnnotationRegistry::registerFile(__DIR__ . '/Annotation/IgnoreAnnotation.php'); |
|
123 | + AnnotationRegistry::registerFile(__DIR__.'/Annotation/IgnoreAnnotation.php'); |
|
124 | 124 | |
125 | 125 | $this->parser = $parser ?: new DocParser(); |
126 | 126 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | $this->parser->setIgnoredAnnotationNames($this->getIgnoredAnnotationNames($class)); |
144 | 144 | $this->parser->setIgnoredAnnotationNamespaces(self::$globalIgnoredNamespaces); |
145 | 145 | |
146 | - return $this->parser->parse($class->getDocComment(), 'class ' . $class->getName()); |
|
146 | + return $this->parser->parse($class->getDocComment(), 'class '.$class->getName()); |
|
147 | 147 | } |
148 | 148 | |
149 | 149 | /** |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | public function getPropertyAnnotations(ReflectionProperty $property) |
169 | 169 | { |
170 | 170 | $class = $property->getDeclaringClass(); |
171 | - $context = 'property ' . $class->getName() . "::\$" . $property->getName(); |
|
171 | + $context = 'property '.$class->getName()."::\$".$property->getName(); |
|
172 | 172 | |
173 | 173 | $this->parser->setTarget(Target::TARGET_PROPERTY); |
174 | 174 | $this->parser->setImports($this->getPropertyImports($property)); |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | public function getMethodAnnotations(ReflectionMethod $method) |
201 | 201 | { |
202 | 202 | $class = $method->getDeclaringClass(); |
203 | - $context = 'method ' . $class->getName() . '::' . $method->getName() . '()'; |
|
203 | + $context = 'method '.$class->getName().'::'.$method->getName().'()'; |
|
204 | 204 | |
205 | 205 | $this->parser->setTarget(Target::TARGET_METHOD); |
206 | 206 | $this->parser->setImports($this->getMethodImports($method)); |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | private function collectParsingMetadata(ReflectionClass $class) |
321 | 321 | { |
322 | 322 | $ignoredAnnotationNames = self::$globalIgnoredNames; |
323 | - $annotations = $this->preParser->parse($class->getDocComment(), 'class ' . $class->name); |
|
323 | + $annotations = $this->preParser->parse($class->getDocComment(), 'class '.$class->name); |
|
324 | 324 | |
325 | 325 | foreach ($annotations as $annotation) { |
326 | 326 | if ($annotation instanceof IgnoreAnnotation) { |