Completed
Pull Request — master (#344)
by Soner
02:50
created
lib/Doctrine/Common/Annotations/DocParser.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
                     'array_type'=>'string',
153 153
                     'value'     =>'array<string>'
154 154
                 ]
155
-             ],
155
+                ],
156 156
         ],
157 157
         Annotation\Attribute::class => [
158 158
             'is_annotation'    => true,
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
                     'type'      =>'boolean',
182 182
                     'value'     =>'boolean'
183 183
                 ]
184
-             ],
184
+                ],
185 185
         ],
186 186
         Annotation\Attributes::class => [
187 187
             'is_annotation'    => true,
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
                     'array_type'=>Annotation\Attribute::class,
200 200
                     'value'     =>'array<' . Annotation\Attribute::class . '>'
201 201
                 ]
202
-             ],
202
+                ],
203 203
         ],
204 204
         Annotation\Enum::class => [
205 205
             'is_annotation'    => true,
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
                     'type'      => 'array',
220 220
                     'required'  => false,
221 221
                 ],
222
-             ],
222
+                ],
223 223
         ],
224 224
     ];
225 225
 
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
         if (0 === (self::$annotationMetadata[$name]['targets'] & $target) && $target) {
770 770
             throw AnnotationException::semanticalError(
771 771
                 sprintf('Annotation @%s is not allowed to be declared on %s. You may only use this annotation on these code elements: %s.',
772
-                     $originalName, $this->context, self::$annotationMetadata[$name]['targets_literal'])
772
+                        $originalName, $this->context, self::$annotationMetadata[$name]['targets_literal'])
773 773
             );
774 774
         }
775 775
 
@@ -938,9 +938,9 @@  discard block
 block discarded – undo
938 938
                 case !empty ($this->namespaces):
939 939
                     foreach ($this->namespaces as $ns) {
940 940
                         if (class_exists($ns.'\\'.$className) || interface_exists($ns.'\\'.$className)) {
941
-                             $className = $ns.'\\'.$className;
942
-                             $found = true;
943
-                             break;
941
+                                $className = $ns.'\\'.$className;
942
+                                $found = true;
943
+                                break;
944 944
                         }
945 945
                     }
946 946
                     break;
@@ -965,7 +965,7 @@  discard block
 block discarded – undo
965 965
             }
966 966
 
967 967
             if ($found) {
968
-                 $identifier = $className . '::' . $const;
968
+                    $identifier = $className . '::' . $const;
969 969
             }
970 970
         }
971 971
 
Please login to merge, or discard this patch.