Skip to content

Commit 53441d7

Browse files
committed
Remove unnecessary string concatenation
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
1 parent 766faec commit 53441d7

3 files changed

Lines changed: 132 additions & 132 deletions

File tree

src/Statements/PurgeStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class PurgeStatement extends Statement
5050
*/
5151
public function build()
5252
{
53-
$ret = 'PURGE ' . $this->log_type . ' ' . 'LOGS '
53+
$ret = 'PURGE ' . $this->log_type . ' LOGS '
5454
. ($this->end_option !== null ? ($this->end_option . ' ' . $this->end_expr) : '');
5555
return trim($ret);
5656
}

tests/Utils/CLITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function highlightParams()
7878
'q' => 'SELECT 1',
7979
'f' => 'html',
8080
],
81-
'<span class="sql-reserved">SELECT</span>' . '<br/>' .
81+
'<span class="sql-reserved">SELECT</span><br/>' .
8282
'&nbsp;&nbsp;&nbsp;&nbsp;<span class="sql-number">1</span>' . "\n",
8383
0,
8484
],

0 commit comments

Comments
 (0)