@@ -520,7 +520,7 @@ discard block |
||
520 | 520 | } |
521 | 521 | |
522 | 522 | // Checks if the property has type[] |
523 | - if (false !== $pos = strrpos($type, '[')) { |
|
523 | + if (false !== $pos = strrpos($type, '[')) { |
|
524 | 524 | $arrayType = substr($type, 0, $pos); |
525 | 525 | |
526 | 526 | return $metadata->withType([ |
@@ -669,7 +669,7 @@ discard block |
||
669 | 669 | if (($this->annotationMetadata[$name]->getTarget()->unwrap() & $target) === 0 && $target) { |
670 | 670 | throw AnnotationException::semanticalError( |
671 | 671 | sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.', |
672 | - $originalName, $this->context, $this->annotationMetadata[$name]->getTarget()->describe()) |
|
672 | + $originalName, $this->context, $this->annotationMetadata[$name]->getTarget()->describe()) |
|
673 | 673 | ); |
674 | 674 | } |
675 | 675 | |
@@ -854,9 +854,9 @@ discard block |
||
854 | 854 | case !empty ($this->namespaces): |
855 | 855 | foreach ($this->namespaces as $ns) { |
856 | 856 | if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) { |
857 | - $className = $ns.'\\'.$className; |
|
858 | - $found = true; |
|
859 | - break; |
|
857 | + $className = $ns.'\\'.$className; |
|
858 | + $found = true; |
|
859 | + break; |
|
860 | 860 | } |
861 | 861 | } |
862 | 862 | break; |
@@ -881,7 +881,7 @@ discard block |
||
881 | 881 | } |
882 | 882 | |
883 | 883 | if ($found) { |
884 | - $identifier = $className . '::' . $const; |
|
884 | + $identifier = $className . '::' . $const; |
|
885 | 885 | } |
886 | 886 | } |
887 | 887 |