Completed
Push — master ( be821e...418a4d )
by James Ekow Abaka
03:23
created
src/RecordWrapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
             $this->quotedTable = $driver->quoteIdentifier($table);
65 65
             $this->table = $this->unquotedTable = $table;
66 66
         } else {
67
-            $this->quotedTable = ( isset($table['schema']) ? "{$driver->quoteIdentifier($table["schema"])}." : "") . $driver->quoteIdentifier($table["table"]);
68
-            $this->unquotedTable = (isset($table['schema']) ? "{$table['schema']}." : "") . $table['table'];
67
+            $this->quotedTable = (isset($table['schema']) ? "{$driver->quoteIdentifier($table["schema"])}." : "").$driver->quoteIdentifier($table["table"]);
68
+            $this->unquotedTable = (isset($table['schema']) ? "{$table['schema']}." : "").$table['table'];
69 69
             $this->table = $table['table'];
70 70
             $this->schema = $table['schema'];
71 71
         }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function getDescription() {
85 85
         return $this->context->getCache()->read(
86
-            (new \ReflectionClass($this))->getName() . '::desc', function() {
86
+            (new \ReflectionClass($this))->getName().'::desc', function() {
87 87
                 return $this->container->resolve(ModelDescription::class, ['model' => $this]);
88 88
             }
89 89
         );
Please login to merge, or discard this patch.
src/relationships/BelongsToRelationship.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
             $this->options['foreign_key'] = $model->getDescription()->getPrimaryKey()[0];
54 54
         }
55 55
         if ($this->options['local_key'] == null) {
56
-            $this->options['local_key'] = Text::singularize($table) . '_id';
56
+            $this->options['local_key'] = Text::singularize($table).'_id';
57 57
         }
58 58
     }
59 59
 
Please login to merge, or discard this patch.