@@ -209,7 +209,7 @@ discard block |
||
| 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 |
||
| 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 | } |