@@ -17,7 +17,7 @@ |
||
| 17 | 17 | return implode( |
| 18 | 18 | ";\n", |
| 19 | 19 | array_map( |
| 20 | - function ($f) { |
|
| 20 | + function($f) { |
|
| 21 | 21 | return '$table->' . $f; |
| 22 | 22 | }, |
| 23 | 23 | $this->fields($model) |
@@ -25,12 +25,12 @@ |
||
| 25 | 25 | { |
| 26 | 26 | $classes = DatatypeGeneratorFactory::factoryAll($this); |
| 27 | 27 | $declarations = array_map( |
| 28 | - function ($c) { |
|
| 28 | + function($c) { |
|
| 29 | 29 | return $c->datatypeDeclaration(); |
| 30 | 30 | }, |
| 31 | 31 | $classes |
| 32 | 32 | ); |
| 33 | - $cleanDeclarations = array_filter($declarations, function ($d) { |
|
| 33 | + $cleanDeclarations = array_filter($declarations, function($d) { |
|
| 34 | 34 | return $d; |
| 35 | 35 | }); |
| 36 | 36 | return join("\n", $cleanDeclarations); |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | $reflection = new ReflectionClass($codeGenerator); |
| 67 | 67 | $classes = ClassFinder::getClassesInNamespace($reflection->getNamespaceName()); |
| 68 | 68 | return array_map( |
| 69 | - function ($c) { |
|
| 69 | + function($c) { |
|
| 70 | 70 | return new $c(); |
| 71 | 71 | }, |
| 72 | 72 | $classes |