@@ -26,9 +26,9 @@ |
||
26 | 26 | |
27 | 27 | namespace ntentan\nibii\relationships; |
28 | 28 | |
29 | -use ntentan\nibii\exceptions\FieldNotFoundException; |
|
30 | 29 | use ntentan\nibii\ORMContext; |
31 | 30 | use ntentan\nibii\Relationship; |
31 | +use ntentan\nibii\exceptions\FieldNotFoundException; |
|
32 | 32 | use ntentan\utils\Text; |
33 | 33 | |
34 | 34 | /** |
@@ -199,7 +199,7 @@ |
||
199 | 199 | $this->initialize(); |
200 | 200 | |
201 | 201 | return $this->context->getCache()->read( |
202 | - "{$this->className}::desc", function () { |
|
202 | + "{$this->className}::desc", function() { |
|
203 | 203 | return $this->context->getModelDescription($this); |
204 | 204 | } |
205 | 205 | ); |
@@ -139,7 +139,7 @@ |
||
139 | 139 | public function describe($model, $relationships) |
140 | 140 | { |
141 | 141 | return new ModelDescription( |
142 | - $this->driver->describeTable($table)[$table], $relationships, function ($type) { |
|
142 | + $this->driver->describeTable($table)[$table], $relationships, function($type) { |
|
143 | 143 | return $this->mapDataTypes($type); |
144 | 144 | } |
145 | 145 | ); |