@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Compolomus\LSQLQueryBuilder\Parts; |
4 | 4 | |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | private $joinTypes = ['left', 'right', 'cross', 'inner']; |
27 | 27 | |
28 | - public function __construct(string $table, ?array $on = null, ?string $alias = null, string $joinType = 'left') |
|
28 | + public function __construct(string $table, ? array $on = null, ?string $alias = null, string $joinType = 'left') |
|
29 | 29 | { |
30 | 30 | $this->table = $table; |
31 | 31 | if (!is_null($on)) { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | private function onMap(array $array): string |
64 | 64 | { |
65 | - return ' ON ' . $this->concatWhere(array_map(function ($item) { |
|
65 | + return ' ON ' . $this->concatWhere(array_map(function($item) { |
|
66 | 66 | return $this->parentTable . '.' . $this->escapeField($item[0]) . ' = ' . $this->getTable() . '.' . $this->escapeField($item[1]); |
67 | 67 | }, $array)); |
68 | 68 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Compolomus\LSQLQueryBuilder; |
4 | 4 |