@@ -173,8 +173,8 @@ discard block |
||
173 | 173 | $this->table = $table['table']; |
174 | 174 | $this->schema = $table['schema']; |
175 | 175 | } |
176 | - $this->quotedTable = ($this->schema ? "{$driver->quoteIdentifier($this->schema)}." : '') . $driver->quoteIdentifier($this->table); |
|
177 | - $this->unquotedTable = ($this->schema ? "{$this->schema}." : '') . $this->table; |
|
176 | + $this->quotedTable = ($this->schema ? "{$driver->quoteIdentifier($this->schema)}." : '').$driver->quoteIdentifier($this->table); |
|
177 | + $this->unquotedTable = ($this->schema ? "{$this->schema}." : '').$this->table; |
|
178 | 178 | $this->adapter->setModel($this, $this->quotedTable); |
179 | 179 | $this->initialized = true; |
180 | 180 | } |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | $this->initialize(); |
199 | 199 | |
200 | 200 | return $this->context->getCache()->read( |
201 | - "{$this->className}::desc", function () { |
|
201 | + "{$this->className}::desc", function() { |
|
202 | 202 | return $this->context->getModelDescription($this); |
203 | 203 | } |
204 | 204 | ); |
@@ -599,7 +599,7 @@ discard block |
||
599 | 599 | public function map(callable $callback): array |
600 | 600 | { |
601 | 601 | $mapped = []; |
602 | - foreach($this as $item) { |
|
602 | + foreach ($this as $item) { |
|
603 | 603 | $mapped[] = $callback($item); |
604 | 604 | } |
605 | 605 | return $mapped; |