From acdbe3217359b9eb27876efe09f6bac29ef07d06 Mon Sep 17 00:00:00 2001 From: Mason Day Date: Mon, 30 Dec 2024 22:13:08 +0000 Subject: [PATCH] Added explicit nullable type to attachFollowStatus parameter --- src/Traits/Follower.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Traits/Follower.php b/src/Traits/Follower.php index cf2cb4a..8c495c8 100644 --- a/src/Traits/Follower.php +++ b/src/Traits/Follower.php @@ -117,7 +117,7 @@ public function notApprovedFollowings(): HasMany return $this->followings()->notAccepted(); } - public function attachFollowStatus($followables, callable $resolver = null) + public function attachFollowStatus($followables, ?callable $resolver = null) { $returnFirst = false;