From 84d54899595df4fefe97bc16be332922a3f1b09a Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Wed, 20 Dec 2023 09:17:03 +0100 Subject: [PATCH] Renamed ContentNameCriterion to ContentName --- src/lib/Query/Content/CriterionVisitor/ContentName.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Query/Content/CriterionVisitor/ContentName.php b/src/lib/Query/Content/CriterionVisitor/ContentName.php index 192966dc..d7025e1c 100644 --- a/src/lib/Query/Content/CriterionVisitor/ContentName.php +++ b/src/lib/Query/Content/CriterionVisitor/ContentName.php @@ -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; }