Completed
Push — main ( 7f3ff7...a598cf )
by James Ekow Abaka
24:33
created
src/RecordWrapper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -173,8 +173,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.