Skip to content

Commit 153f394

Browse files
committed
fix php-cs-fixer
1 parent 9369f72 commit 153f394

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Bridge/Doctrine/Orm/Filter/SearchFilter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryBuilderHelper;
2121
use ApiPlatform\Core\Bridge\Doctrine\Orm\Util\QueryNameGeneratorInterface;
2222
use ApiPlatform\Core\Exception\InvalidArgumentException;
23+
use Doctrine\Common\Collections\ArrayCollection;
2324
use Doctrine\DBAL\Types\Type as DBALType;
25+
use Doctrine\ORM\Query\Parameter;
2426
use Doctrine\ORM\QueryBuilder;
2527
use Doctrine\Persistence\ManagerRegistry;
28+
use Doctrine\Persistence\Mapping\ClassMetadata;
2629
use Psr\Log\LoggerInterface;
2730
use Symfony\Component\HttpFoundation\RequestStack;
2831
use Symfony\Component\PropertyAccess\PropertyAccess;
2932
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
3033
use Symfony\Component\Serializer\NameConverter\NameConverterInterface;
31-
use Doctrine\Persistence\Mapping\ClassMetadata;
32-
use Doctrine\ORM\Query\Parameter;
33-
use Doctrine\Common\Collections\ArrayCollection;
3434

3535
/**
3636
* Filter the collection by given properties.
@@ -155,7 +155,7 @@ protected function filterProperty(string $property, $value, QueryBuilder $queryB
155155
$args = [];
156156
$type = $metadata->getTypeOfField($field);
157157

158-
for ($i = 0; $i< \count($values); $i++) {
158+
for ($i = 0; $i < \count($values); ++$i) {
159159
$inQuery[] = ':filterproperty'.$i;
160160
$args[] = new Parameter('filterproperty'.$i, $caseSensitive ? $values[$i] : strtolower($values[$i]), $type);
161161
}

0 commit comments

Comments
 (0)