@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | */ |
51 | 51 | public function update(string $tableName, array $record, string $where, int $limit = 10000000): int |
52 | 52 | { |
53 | - $this->updateWasCalledCounter ++; |
|
53 | + $this->updateWasCalledCounter++; |
|
54 | 54 | |
55 | 55 | $this->updateCalls[] = [ |
56 | 56 | $tableName, |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | public function delete($tableName, $where, $limit = 10000000): int |
78 | 78 | { |
79 | - $this->deleteWasCalledCounter ++; |
|
79 | + $this->deleteWasCalledCounter++; |
|
80 | 80 | |
81 | 81 | return 1; |
82 | 82 | } |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | */ |
182 | 182 | public function insert(string $tableName, array $record): int |
183 | 183 | { |
184 | - $this->insertWasCalledCounter ++; |
|
184 | + $this->insertWasCalledCounter++; |
|
185 | 185 | |
186 | 186 | $this->insertCalls[] = [ |
187 | 187 | $tableName, |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | */ |
228 | 228 | public function executeSelect(?array $data = null): array |
229 | 229 | { |
230 | - $this->executeSelectWasCalledCounter ++; |
|
230 | + $this->executeSelectWasCalledCounter++; |
|
231 | 231 | |
232 | 232 | $this->selectResults = array_reverse($this->selectResults); |
233 | 233 | |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | */ |
276 | 276 | public function execute(?array $data = null): void |
277 | 277 | { |
278 | - $this->executeWasCalledCounter ++; |
|
278 | + $this->executeWasCalledCounter++; |
|
279 | 279 | } |
280 | 280 | |
281 | 281 | /** |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | return [ |
177 | 177 | // #0, the first case, two connections the first one is fetched |
178 | 178 | [ |
179 | - function (): void { |
|
179 | + function(): void { |
|
180 | 180 | // setup method |
181 | 181 | $this->setConnection(); |
182 | 182 | $this->setConnection('exact-connection'); |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | ], |
185 | 185 | // #1, the first case, two connections the second one is fetched |
186 | 186 | [ |
187 | - function (): void { |
|
187 | + function(): void { |
|
188 | 188 | // setup method |
189 | 189 | $this->setConnection('exact-connection'); |
190 | 190 | $this->setConnection(); |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | ], |
193 | 193 | // #2, the third case, connection was not found |
194 | 194 | [ |
195 | - function (): void { |
|
195 | + function(): void { |
|
196 | 196 | // setup method |
197 | 197 | $this->setConnection('first-connection'); |
198 | 198 | $this->setConnection('second-connection'); |