From 83618ee71e8711b1bec790cd720251d14bd18f0b Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 29 Aug 2024 10:34:17 +1200 Subject: [PATCH] fix: update correct method for warnings --- src/ResultList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResultList.php b/src/ResultList.php index a7c3466..86a626c 100644 --- a/src/ResultList.php +++ b/src/ResultList.php @@ -202,7 +202,7 @@ public function toArray() if (empty($type)) { Injector::inst()->get(LoggerInterface::class) - ->warn('no type field found on result: '. $item->getId()); + ->warning('no type field found on result: '. $item->getId()); continue; }