Passed
Pull Request — master (#311)
by Arman
03:01
created
src/Libraries/Database/Adapters/Idiorm/Statements/Join.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
             [
118 118
                 $modelToJoin->table . '.' . $foreignKeys[$relatedModelName]['local_key'],
119 119
                 '=',
120
-                $this->table . '.' .  $foreignKeys[$relatedModelName]['foreign_key'],
120
+                $this->table . '.' . $foreignKeys[$relatedModelName]['foreign_key'],
121 121
             ]
122 122
         );
123 123
 
Please login to merge, or discard this patch.
src/Libraries/Database/Adapters/Sleekdb/Statements/Join.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         $switch = $nextItem['switch'];
88 88
         $joinType = $nextItem['type'];
89 89
 
90
-        $queryBuilder->join(function ($item) use ($currentItem, $modelToJoin, $switch, $joinType, $level) {
90
+        $queryBuilder->join(function($item) use ($currentItem, $modelToJoin, $switch, $joinType, $level) {
91 91
 
92 92
             $sleekModel = new self($modelToJoin->table, get_class($modelToJoin), $modelToJoin->idColumn, $modelToJoin->relations());
93 93
 
Please login to merge, or discard this patch.
src/Paginator/Adapters/ModelPaginator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
             ->offset($this->perPage * ($this->page - 1))
63 63
             ->get();
64 64
 
65
-        $models = array_map(function ($item) {
65
+        $models = array_map(function($item) {
66 66
             return wrapToModel($item->getOrmInstance(), $this->modelClass);
67 67
         }, iterator_to_array($result));
68 68
 
Please login to merge, or discard this patch.