@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | if ($statement instanceof TransactionStatement) { |
67 | 67 | $this->assertNotNull($statement->statements); |
68 | 68 | foreach ($statement->statements as $transactionStatement) { |
69 | - if (! $transactionStatement instanceof SetStatement) { |
|
69 | + if (!$transactionStatement instanceof SetStatement) { |
|
70 | 70 | continue; |
71 | 71 | } |
72 | 72 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | continue; |
77 | 77 | } |
78 | 78 | |
79 | - if (! $statement instanceof SetStatement) { |
|
79 | + if (!$statement instanceof SetStatement) { |
|
80 | 80 | continue; |
81 | 81 | } |
82 | 82 |
@@ -74,10 +74,10 @@ discard block |
||
74 | 74 | * @param ArrayObj|null $using columns joined |
75 | 75 | */ |
76 | 76 | public function __construct( |
77 | - string|null $type = null, |
|
78 | - Expression|null $expr = null, |
|
79 | - array|null $on = null, |
|
80 | - ArrayObj|null $using = null, |
|
77 | + string | null $type = null, |
|
78 | + Expression | null $expr = null, |
|
79 | + array | null $on = null, |
|
80 | + ArrayObj | null $using = null, |
|
81 | 81 | ) { |
82 | 82 | $this->type = $type; |
83 | 83 | $this->expr = $expr; |
@@ -88,8 +88,8 @@ discard block |
||
88 | 88 | public function build(): string |
89 | 89 | { |
90 | 90 | return array_search($this->type, self::JOINS) . ' ' . $this->expr |
91 | - . (! empty($this->on) ? ' ON ' . Conditions::buildAll($this->on) : '') |
|
92 | - . (! empty($this->using) ? ' USING ' . $this->using->build() : ''); |
|
91 | + . (!empty($this->on) ? ' ON ' . Conditions::buildAll($this->on) : '') |
|
92 | + . (!empty($this->using) ? ' USING ' . $this->using->build() : ''); |
|
93 | 93 | } |
94 | 94 | |
95 | 95 | public function __toString(): string |