Skip to content

Commit

Permalink
Renamed ContentNameCriterion to ContentName
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Dec 22, 2023
1 parent 3fc3b73 commit 4e19e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Query/Content/CriterionVisitor/ContentName.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(

public function canVisit(Criterion $criterion): bool
{
return $criterion instanceof Criterion\ContentNameCriterion
return $criterion instanceof Criterion\ContentName
&& $criterion->operator === Criterion\Operator::LIKE;
}

Expand Down

0 comments on commit 4e19e0a

Please sign in to comment.