Skip to content

Commit 35948b7

Browse files
committed
use single-line array in tests
1 parent 7ff8e18 commit 35948b7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/Twig/DoctrineExtensionTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ public function testReplaceQueryParametersWithEscapedParameterPlaceholder(): voi
7878
{
7979
$extension = new DoctrineExtension();
8080
$query = 'column->>field ?? ?';
81-
$parameters = [
82-
'foo',
83-
];
81+
$parameters = ['foo'];
8482

8583
$result = $extension->replaceQueryParameters($query, $parameters);
8684
$this->assertEquals("column->>field ?? 'foo'", $result);

0 commit comments

Comments
 (0)