@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | public static function getNames(): array |
| 159 | 159 | { |
| 160 | 160 | return static::map( |
| 161 | - function (\ReflectionClass $reflection) { |
|
| 161 | + function(\ReflectionClass $reflection) { |
|
| 162 | 162 | return static::getNamePair($reflection); |
| 163 | 163 | } |
| 164 | 164 | ); |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | foreach (static::getBaseNamespaces() as $ns) { |
| 214 | 214 | $base = $ns . $subns; |
| 215 | 215 | $x = array_map( |
| 216 | - function ($f) use ($base) { |
|
| 216 | + function($f) use ($base) { |
|
| 217 | 217 | $fName = "$base\\$f\\CodeGenerator"; |
| 218 | 218 | return new $fName(); |
| 219 | 219 | }, |
@@ -28,12 +28,12 @@ |
||
| 28 | 28 | { |
| 29 | 29 | $classes = DatatypeGeneratorFactory::specializedFactoryAll($this); |
| 30 | 30 | $declarations = array_map( |
| 31 | - function (DatatypeGenerator $c) { |
|
| 31 | + function(DatatypeGenerator $c) { |
|
| 32 | 32 | return $c->datatypeDeclaration($this); |
| 33 | 33 | }, |
| 34 | 34 | $classes |
| 35 | 35 | ); |
| 36 | - $cleanDeclarations = array_filter($declarations, function ($d) { |
|
| 36 | + $cleanDeclarations = array_filter($declarations, function($d) { |
|
| 37 | 37 | return $d; |
| 38 | 38 | }); |
| 39 | 39 | return join("\n", $cleanDeclarations); |