@@ -553,7 +553,7 @@ discard block |
||
| 553 | 553 | } |
| 554 | 554 | |
| 555 | 555 | // Checks if the property has type[] |
| 556 | - if (false !== $pos = strrpos($type, '[')) { |
|
| 556 | + if (false !== $pos = strrpos($type, '[')) { |
|
| 557 | 557 | $arrayType = substr($type, 0, $pos); |
| 558 | 558 | |
| 559 | 559 | $metadata->withType(new ArrayType(new MixedType(), $this->createTypeFromName($arrayType))); |
@@ -723,7 +723,7 @@ discard block |
||
| 723 | 723 | if (($metadata->getTarget()->unwrap() & $target) === 0 && $target) { |
| 724 | 724 | throw AnnotationException::semanticalError( |
| 725 | 725 | sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.', |
| 726 | - $originalName, $this->context, $metadata->getTarget()->describe()) |
|
| 726 | + $originalName, $this->context, $metadata->getTarget()->describe()) |
|
| 727 | 727 | ); |
| 728 | 728 | } |
| 729 | 729 | |
@@ -915,9 +915,9 @@ discard block |
||
| 915 | 915 | case !empty ($this->namespaces): |
| 916 | 916 | foreach ($this->namespaces as $ns) { |
| 917 | 917 | if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) { |
| 918 | - $className = $ns.'\\'.$className; |
|
| 919 | - $found = true; |
|
| 920 | - break; |
|
| 918 | + $className = $ns.'\\'.$className; |
|
| 919 | + $found = true; |
|
| 920 | + break; |
|
| 921 | 921 | } |
| 922 | 922 | } |
| 923 | 923 | break; |
@@ -942,7 +942,7 @@ discard block |
||
| 942 | 942 | } |
| 943 | 943 | |
| 944 | 944 | if ($found) { |
| 945 | - $identifier = $className . '::' . $const; |
|
| 945 | + $identifier = $className . '::' . $const; |
|
| 946 | 946 | } |
| 947 | 947 | } |
| 948 | 948 | |