@@ -171,8 +171,8 @@ discard block |
||
171 | 171 | $this->table = $table['table']; |
172 | 172 | $this->schema = $table['schema']; |
173 | 173 | } |
174 | - $this->quotedTable = ($this->schema ? "{$driver->quoteIdentifier($this->schema)}." : '') . $driver->quoteIdentifier($this->table); |
|
175 | - $this->unquotedTable = ($this->schema ? "{$this->schema}." : '') . $this->table; |
|
174 | + $this->quotedTable = ($this->schema ? "{$driver->quoteIdentifier($this->schema)}." : '').$driver->quoteIdentifier($this->table); |
|
175 | + $this->unquotedTable = ($this->schema ? "{$this->schema}." : '').$this->table; |
|
176 | 176 | $this->adapter->setModel($this, $this->quotedTable); |
177 | 177 | $this->initialized = true; |
178 | 178 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | $this->initialize(); |
197 | 197 | |
198 | 198 | return $this->context->getCache()->read( |
199 | - "{$this->className}::desc", function () { |
|
199 | + "{$this->className}::desc", function() { |
|
200 | 200 | return $this->context->getModelDescription($this); |
201 | 201 | }); |
202 | 202 | } |
@@ -374,7 +374,7 @@ discard block |
||
374 | 374 | $newInstance = clone $this; |
375 | 375 | $newInstance->setData($this->modelData[$offset]); |
376 | 376 | return $newInstance; |
377 | - } else if(!$this->hasMultipleItems() && isset($this->modelData[$offset])) { |
|
377 | + } else if (!$this->hasMultipleItems() && isset($this->modelData[$offset])) { |
|
378 | 378 | $newInstance = clone $this; |
379 | 379 | $newInstance->setData($this->modelData); |
380 | 380 | return $newInstance; |
@@ -604,7 +604,7 @@ discard block |
||
604 | 604 | { |
605 | 605 | $mapped = []; |
606 | 606 | if ($this->hasMultipleItems()) { |
607 | - foreach($this as $item) { |
|
607 | + foreach ($this as $item) { |
|
608 | 608 | $mapped[] = $callback($item); |
609 | 609 | } |
610 | 610 | } else if ($this->hasDataBeenSet) { |