@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $class = $class->getParentClass(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | - $this->properties = (array)call_user_func_array('array_merge', $declarations); |
|
| 54 | + $this->properties = (array) call_user_func_array('array_merge', $declarations); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | { |
| 84 | 84 | preg_match_all($this->getPattern($accessType), $docBlock, $matches, PREG_SET_ORDER); |
| 85 | 85 | |
| 86 | - return (array)$matches; |
|
| 86 | + return (array) $matches; |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | private function getTypesFromDeclaration($originalTypesDeclaration) |
| 58 | 58 | { |
| 59 | - $types = explode('|', mb_strtolower($originalTypesDeclaration)); |
|
| 59 | + $types = explode('|', mb_strtolower($originalTypesDeclaration)); |
|
| 60 | 60 | |
| 61 | 61 | foreach ($types as $typeKey => &$typeName) { |
| 62 | 62 | // Replace: Some[] => array |
@@ -108,7 +108,7 @@ |
||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | - * @param $typeName |
|
| 111 | + * @param string $typeName |
|
| 112 | 112 | * @return array |
| 113 | 113 | */ |
| 114 | 114 | private function getVarTypeAliases($typeName) |