From 6441b85c84649fbe546683a80e525741126a7ebe Mon Sep 17 00:00:00 2001 From: Tomasz Kryszan Date: Mon, 26 Aug 2024 10:53:23 +0200 Subject: [PATCH] Fixed exception message in IsBookmarked visitor --- .../Query/Location/CriterionVisitor/Location/IsBookmarked.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Query/Location/CriterionVisitor/Location/IsBookmarked.php b/src/lib/Query/Location/CriterionVisitor/Location/IsBookmarked.php index af7a41c..fc6b36f 100644 --- a/src/lib/Query/Location/CriterionVisitor/Location/IsBookmarked.php +++ b/src/lib/Query/Location/CriterionVisitor/Location/IsBookmarked.php @@ -37,7 +37,7 @@ public function visit( if (!is_array($criterion->value)) { throw new LogicException(sprintf( 'Expected %s Criterion value to be an array, received %s', - IsBookmarked::class, + Criterion\Location\IsBookmarked::class, get_debug_type($criterion->value), )); }