Skip to content

Commit

Permalink
fixed codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Nov 21, 2024
1 parent 4b6edac commit 452bf93
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/lib/CoreFilter/NativeCoreFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ private function getLanguageFilter(array $languageCodes): Query\CriterionInterfa
if (empty($languageFilters)) {
throw new RuntimeException('$languageFilters is empty');
}

return reset($languageFilters);
}

Expand Down
1 change: 0 additions & 1 deletion src/lib/Query/Common/CriterionVisitor/UserLoginIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public function canVisit(CriterionInterface $criterion): bool
return in_array($criterion->operator ?? Operator::IN, [Operator::IN, Operator::EQ], true);
}


/**
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\UserLogin $criterion
*/
Expand Down
1 change: 0 additions & 1 deletion src/lib/Query/Content/CriterionVisitor/SubtreeIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\Operator;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface;
use Ibexa\Contracts\Solr\Query\CriterionVisitor;
use Ibexa\Core\Repository\Values\Content\Query\Criterion\PermissionSubtree;

/**
* Visits the Subtree criterion.
Expand Down
1 change: 1 addition & 0 deletions src/lib/Query/Content/CriterionVisitor/Visibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function canVisit(CriterionInterface $criterion)
* @param \Ibexa\Contracts\Solr\Query\CriterionVisitor $subVisitor
* @param \Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\Visibility $criterion
*
* @return string
*/
public function visit(CriterionInterface $criterion, CriterionVisitor $subVisitor = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

namespace Ibexa\Solr\Query\Image\CriterionVisitor;

use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface;
use Ibexa\Contracts\Solr\Query\CriterionVisitor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

namespace Ibexa\Solr\Query\Image\CriterionVisitor;

use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface;
use Ibexa\Contracts\Solr\Query\CriterionVisitor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

namespace Ibexa\Solr\Query\Image\CriterionVisitor;

use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion;
use Ibexa\Contracts\Core\Repository\Values\Content\Query\CriterionInterface;
use Ibexa\Contracts\Solr\Query\CriterionVisitor;
use Ibexa\Core\Base\Exceptions\InvalidArgumentException;
Expand Down

0 comments on commit 452bf93

Please sign in to comment.