@@ -144,7 +144,7 @@ discard block |
||
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 |
||
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; |