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; }