@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | $this->definitions[$subDefinitionName] = $subConfig; |
165 | 165 | $this->generateClass($subDefinitionName); |
166 | 166 | [$subNamespace, $subClassName] = $this->getClassNameAndNamespaceFromDefinitionName($subDefinitionName); |
167 | - $type = '\\' . $subNamespace . '\\' . $subClassName; |
|
167 | + $type = '\\'.$subNamespace.'\\'.$subClassName; |
|
168 | 168 | $type .= $currentConfig['type'] === 'array' ? '[]' : ''; |
169 | 169 | |
170 | 170 | return $type; |
@@ -203,11 +203,11 @@ discard block |
||
203 | 203 | $classParts = explode('/', $classPath); |
204 | 204 | $className = array_pop($classParts); |
205 | 205 | $namespace = implode('\\', $classParts); |
206 | - $namespace = $this->namespace . ($namespace === '' ? '' : '\\'.$namespace); |
|
206 | + $namespace = $this->namespace.($namespace === '' ? '' : '\\'.$namespace); |
|
207 | 207 | |
208 | 208 | return [ |
209 | 209 | $namespace, |
210 | - $classPrefix . $className . $classSuffix, |
|
210 | + $classPrefix.$className.$classSuffix, |
|
211 | 211 | ]; |
212 | 212 | } |
213 | 213 | |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | |
241 | 241 | $singleType = rtrim($type, '[]'); |
242 | 242 | [$propertyNamespace, $propertyClassName] = $this->getClassNameAndNamespaceFromDefinitionName($singleType); |
243 | - return $propertyNamespace . '\\' . $propertyClassName; |
|
243 | + return $propertyNamespace.'\\'.$propertyClassName; |
|
244 | 244 | } |
245 | 245 | |
246 | 246 | /** |