@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | $metadataCollection = $this->getMetadataCollection(); |
| 35 | 35 | |
| 36 | 36 | if (count($metadataCollection) === 0) { |
| 37 | - return []; |
|
| 37 | + return [ ]; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $this->getHydratorFactory()->generateHydratorClasses( |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $this->ensureDirectory($this->getHydratorDir()) |
| 43 | 43 | ); |
| 44 | 44 | |
| 45 | - return array_map(function ($metadata) { |
|
| 45 | + return array_map(function($metadata) { |
|
| 46 | 46 | return $metadata->name; |
| 47 | 47 | }, $metadataCollection); |
| 48 | 48 | } |
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | $metadataCollection = $this->getMetadataCollection(); |
| 35 | 35 | |
| 36 | 36 | if (count($metadataCollection) === 0) { |
| 37 | - return []; |
|
| 37 | + return [ ]; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | $this->getProxyFactory()->generateProxyClasses( |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | $this->ensureDirectory($this->getProxyDir()) |
| 43 | 43 | ); |
| 44 | 44 | |
| 45 | - return array_map(function ($metadata) { |
|
| 45 | + return array_map(function($metadata) { |
|
| 46 | 46 | return $metadata->name; |
| 47 | 47 | }, $metadataCollection); |
| 48 | 48 | } |