@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | public function getTableNameParts(string $name): array |
| 32 | 32 | { |
| 33 | 33 | $parts = array_slice(explode('.', $name), -2, 2); |
| 34 | - return array_map(function ($part) { |
|
| 34 | + return array_map(function($part) { |
|
| 35 | 35 | return $this->unquoteSimpleTableName($part); |
| 36 | 36 | }, $parts); |
| 37 | 37 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | { |
| 95 | 95 | return preg_replace_callback( |
| 96 | 96 | '/({{(%?[\w\-. ]+%?)}}|\\[\\[([\w\-. ]+)]])/', |
| 97 | - function ($matches) { |
|
| 97 | + function($matches) { |
|
| 98 | 98 | if (isset($matches[3])) { |
| 99 | 99 | return $this->quoteColumnName($matches[3]); |
| 100 | 100 | } |
@@ -398,7 +398,7 @@ |
||
| 398 | 398 | for ($symbol1 = 1; $symbol1 <= 127; $symbol1++) { |
| 399 | 399 | for ($symbol2 = 1; $symbol2 <= 127; $symbol2++) { |
| 400 | 400 | $quotedName = $quoter->quoteValue('test_' . $symbol1 . '_' . $symbol2); |
| 401 | - $testString = str_replace(['{1}', '{2}',], [chr($symbol1), chr($symbol2)], $template); |
|
| 401 | + $testString = str_replace(['{1}', '{2}', ], [chr($symbol1), chr($symbol2)], $template); |
|
| 402 | 402 | |
| 403 | 403 | $quoteValue = $quoter->quoteValue($testString); |
| 404 | 404 | |