Passed
Push — master ( b1b817...5e566a )
by y
01:39
created
src/DB/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         }
145 145
         $this->table = $table;
146 146
         $this->setColumns($expressions);
147
-        $this->fetcher = function (Statement $statement) {
147
+        $this->fetcher = function(Statement $statement) {
148 148
             yield from $statement;
149 149
         };
150 150
     }
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
         if ($this->db->isMySQL()) {
315 315
             // to be standards compliant, this hack must fail if they don't have the same cols.
316 316
             assert(count($this->refs) === count($select->refs) and !array_diff_key($this->refs, $select->refs));
317
-            $this->join($select, ...array_map(function (string $alias, Column $ref) {
317
+            $this->join($select, ...array_map(function(string $alias, Column $ref) {
318 318
                 return $ref->is($this->refs[$alias]);
319 319
             }, array_keys($select->refs), $select->refs));
320 320
             return $this;
Please login to merge, or discard this patch.