Skip to content

Commit

Permalink
[doctrineGH-2624] CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Feb 28, 2021
1 parent 56c3211 commit 49d2a7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/Doctrine/ORM/Query/Filter/SQLFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
use Doctrine\ORM\Query\ParameterTypeInferer;
use InvalidArgumentException;
use RuntimeException;

use function array_map;
use function implode;
use function is_array;
Expand Down
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ public function testToOneFilter(): void
// We get one user after enabling the filter
$this->assertEquals(1, count($query->getResult()));

$this->_em->getFilters()->enable("country")->setParameter("country", ["Germany", "France"], DBALType::STRING);
$this->_em->getFilters()->enable('country')->setParameter('country', ['Germany', 'France'], DBALType::STRING);

$this->assertEquals(2, count($query->getResult()));
}
Expand Down

0 comments on commit 49d2a7a

Please sign in to comment.