Completed
Push — main ( a598cf...93421b )
by James Ekow Abaka
22:05
created
src/RecordWrapper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -171,8 +171,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
     {
598 598
         $mapped = [];
599 599
         if ($this->hasMultipleItems()) {
600
-            foreach($this as $item) {
600
+            foreach ($this as $item) {
601 601
                 $mapped[] = $callback($item);
602 602
             }
603 603
         } else if ($this->hasDataBeenSet) {
Please login to merge, or discard this patch.