Passed
Push — 2.x ( 1a72dd...e013df )
by Aleksei
14:25 queued 01:37
created
src/Select/AbstractLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             $this->join[$name] = $loader->withContext($this);
116 116
         }
117 117
 
118
-        $this->inherit = $this->inherit?->withContext($this);
118
+        $this->inherit = $this->inherit ? ->withContext($this);
119 119
 
120 120
         foreach ($this->subclasses as $i => $loader) {
121 121
             $this->subclasses[$i] = $loader->withContext($this);
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
                 $this->target,
229 229
                 $relation
230 230
             );
231
-        } catch (SchemaException | FactoryException $e) {
231
+        } catch (SchemaException|FactoryException $e) {
232 232
             if ($this->inherit instanceof self) {
233 233
                 return $this->inherit->loadRelation($relation, $options, $join, $load);
234 234
             }
Please login to merge, or discard this patch.
src/Select/Traits/ScopeTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     protected function applyScope(SelectQuery $query): SelectQuery
33 33
     {
34
-        $this->scope?->apply(new QueryBuilder($query, $this));
34
+        $this->scope ? ->apply(new QueryBuilder($query, $this));
35 35
 
36 36
         return $query;
37 37
     }
Please login to merge, or discard this patch.
src/Select/Traits/JoinOneTableTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
             $query->andWhere($fields[0], 'IN', new Parameter(array_column($outerKeys, key($outerKeys[0]))));
55 55
         } else {
56 56
             $query->andWhere(
57
-                static function (SelectQuery $select) use ($outerKeys, $fields) {
57
+                static function(SelectQuery $select) use ($outerKeys, $fields) {
58 58
                     foreach ($outerKeys as $set) {
59 59
                         $select->orWhere(array_combine($fields, array_values($set)));
60 60
                     }
Please login to merge, or discard this patch.