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 20, 2023
1 parent eafbc5f commit 15b4ef3
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 15b4ef3

Please sign in to comment.