Skip to content

Commit 79dbe12

Browse files
committed
Formatting update
1 parent 671edc6 commit 79dbe12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Twig/DoctrineExtension.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public static function escapeFunction($parameter)
291291
public function replaceQueryParameters($query, $parameters, $highlight = true)
292292
{
293293
$i = 0;
294-
294+
295295
$result = preg_replace_callback(
296296
'/\?|((?<!:):[a-z0-9_]+)/i',
297297
function ($matches) use ($parameters, &$i) {
@@ -309,7 +309,7 @@ function ($matches) use ($parameters, &$i) {
309309
$query
310310
);
311311

312-
if (true === $highlight) {
312+
if ($highlight) {
313313
$result = \SqlFormatter::highlight($result);
314314
$result = str_replace(array("<pre ", "</pre>"), array("<span ", "</span>"), $result);
315315
}

0 commit comments

Comments
 (0)