@@ -519,7 +519,7 @@ discard block |
||
519 | 519 | } |
520 | 520 | |
521 | 521 | // Checks if the property has type[] |
522 | - if (false !== $pos = strrpos($type, '[')) { |
|
522 | + if (false !== $pos = strrpos($type, '[')) { |
|
523 | 523 | $arrayType = substr($type, 0, $pos); |
524 | 524 | |
525 | 525 | $metadata->withType(new ArrayType(new MixedType(), $this->createTypeFromName($arrayType))); |
@@ -689,7 +689,7 @@ discard block |
||
689 | 689 | if (($metadata->getTarget()->unwrap() & $target) === 0 && $target) { |
690 | 690 | throw AnnotationException::semanticalError( |
691 | 691 | sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.', |
692 | - $originalName, $this->context, $metadata->getTarget()->describe()) |
|
692 | + $originalName, $this->context, $metadata->getTarget()->describe()) |
|
693 | 693 | ); |
694 | 694 | } |
695 | 695 | |
@@ -869,9 +869,9 @@ discard block |
||
869 | 869 | case !empty ($this->namespaces): |
870 | 870 | foreach ($this->namespaces as $ns) { |
871 | 871 | if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) { |
872 | - $className = $ns.'\\'.$className; |
|
873 | - $found = true; |
|
874 | - break; |
|
872 | + $className = $ns.'\\'.$className; |
|
873 | + $found = true; |
|
874 | + break; |
|
875 | 875 | } |
876 | 876 | } |
877 | 877 | break; |
@@ -896,7 +896,7 @@ discard block |
||
896 | 896 | } |
897 | 897 | |
898 | 898 | if ($found) { |
899 | - $identifier = $className . '::' . $const; |
|
899 | + $identifier = $className . '::' . $const; |
|
900 | 900 | } |
901 | 901 | } |
902 | 902 |