Completed
Pull Request — master (#85)
by Greg
02:10
created
src/Parser/CommandInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
      */
210 210
     public function replaceRawAnnotations($annotationData)
211 211
     {
212
-        $this->otherAnnotations = new AnnotationData((array) $annotationData);
212
+        $this->otherAnnotations = new AnnotationData((array)$annotationData);
213 213
         return $this;
214 214
     }
215 215
 
@@ -627,8 +627,8 @@  discard block
 block discarded – undo
627 627
      */
628 628
     protected function convertName($camel)
629 629
     {
630
-        $splitter="-";
631
-        $camel=preg_replace('/(?!^)[[:upper:]][[:lower:]]/', '$0', preg_replace('/(?!^)[[:upper:]]+/', $splitter.'$0', $camel));
630
+        $splitter = "-";
631
+        $camel = preg_replace('/(?!^)[[:upper:]][[:lower:]]/', '$0', preg_replace('/(?!^)[[:upper:]]+/', $splitter.'$0', $camel));
632 632
         $camel = preg_replace("/$splitter/", ':', $camel, 1);
633 633
         return strtolower($camel);
634 634
     }
Please login to merge, or discard this patch.