From: Art4 Date: Tue, 13 May 2025 06:12:16 +0000 (+0000) Subject: Fix PHPStan errors X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b2bbcc496531194c0afe21d73353d3be4145693b;p=friendica.git Fix PHPStan errors --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 62e6aff96b..397b774fa6 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -864,6 +864,7 @@ class Item unset($_SESSION['uid']); } } elseif (!$notify) { + /** @var array */ $item = $eventDispatcher->dispatch( new ArrayFilterEvent(ArrayFilterEvent::INSERT_POST_REMOTE, $item) )->getArray();