Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Fix php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 authored and VincentLanglet committed Nov 6, 2021
1 parent 1374cb9 commit 0e871ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProxyQuery/Doctrine/ProxyQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function preserveSqlOrdering(QueryBuilder $queryBuilder): QueryBuilder

// For any orderBy clause defined directly in the dqlParts
$dqlParts = $queryBuilder->getDQLParts();
if (is_array($dqlParts['orderBy']) && \count($dqlParts['orderBy']) > 0) {
if (\is_array($dqlParts['orderBy']) && \count($dqlParts['orderBy']) > 0) {
$sqlOrderColumns = [];
foreach ($dqlParts['orderBy'] as $part) {
foreach ($part->getParts() as $orderBy) {
Expand Down

0 comments on commit 0e871ff

Please sign in to comment.