@@ -65,7 +65,7 @@ |
||
| 65 | 65 | 'fetch' => Parser::STRING // alias to `load` |
| 66 | 66 | ]; |
| 67 | 67 | |
| 68 | - array_walk_recursive($schema, function (&$v) { |
|
| 68 | + array_walk_recursive($schema, function(&$v) { |
|
| 69 | 69 | if (is_string($v) && class_exists($v)) { |
| 70 | 70 | $v = new $v; |
| 71 | 71 | } |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function __construct(Parser $parser = null) |
| 29 | 29 | { |
| 30 | - $this->parser = $parser ?? Generator::getDefaultParser();; |
|
| 30 | + $this->parser = $parser ?? Generator::getDefaultParser(); ; |
|
| 31 | 31 | $this->generator = new Generator($this->parser); |
| 32 | 32 | } |
| 33 | 33 | |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | $field = new Field(); |
| 202 | 202 | |
| 203 | 203 | $field->setType($column->getType()); |
| 204 | - $field->setColumn($columnPrefix . ($column->getColumn() ?? Inflector::tableize($name))); |
|
| 204 | + $field->setColumn($columnPrefix.($column->getColumn() ?? Inflector::tableize($name))); |
|
| 205 | 205 | $field->setPrimary($column->isPrimary()); |
| 206 | 206 | $field->setTypecast($column->getTypecast()); |
| 207 | 207 | |