Skip to content

Commit

Permalink
fix: update correct method for warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr authored Aug 28, 2024
1 parent 6fd2aab commit 83618ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResultList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 83618ee

Please sign in to comment.