Skip to content

Commit 760c707

Browse files
committed
Remove unused parameter
It is unused since 637776e.
1 parent ebfd926 commit 760c707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Twig/DoctrineExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function formatSql(string $sql, bool $highlight): string
141141
return $this->sqlFormatter->format($sql);
142142
}
143143

144-
private function setUpSqlFormatter(bool $highlight = true, bool $legacy = false): void
144+
private function setUpSqlFormatter(bool $highlight = true): void
145145
{
146146
$this->sqlFormatter = new SqlFormatter($highlight ? new HtmlHighlighter([
147147
HtmlHighlighter::HIGHLIGHT_PRE => 'class="highlight highlight-sql"',
@@ -154,6 +154,6 @@ private function setUpSqlFormatter(bool $highlight = true, bool $legacy = false)
154154
HtmlHighlighter::HIGHLIGHT_ERROR => 'class="error"',
155155
HtmlHighlighter::HIGHLIGHT_COMMENT => 'class="comment"',
156156
HtmlHighlighter::HIGHLIGHT_VARIABLE => 'class="variable"',
157-
], ! $legacy) : new NullHighlighter());
157+
]) : new NullHighlighter());
158158
}
159159
}

0 commit comments

Comments
 (0)