From 3f1f5fb4d2743416ed816bfaaf1efbc6880a5761 Mon Sep 17 00:00:00 2001 From: Joel Male Date: Sat, 13 Jun 2026 14:09:29 +1000 Subject: [PATCH] fix: add missing return type to getAssociatedModel --- src/ItemCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ItemCollection.php b/src/ItemCollection.php index 43b1474..033d394 100644 --- a/src/ItemCollection.php +++ b/src/ItemCollection.php @@ -56,7 +56,7 @@ public function __get($name) * * @return mixed */ - protected function getAssociatedModel() + protected function getAssociatedModel(): mixed { if (! $this->has('associatedModel')) { return null;