From 943a86378bd1efdb9b945a01a1fb7c3587bdad42 Mon Sep 17 00:00:00 2001 From: Thibaud P <25123473+ThobsChoucroute@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:18:40 +0100 Subject: [PATCH] Add type hint to fix deprecation message --- src/CheckCollection.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/CheckCollection.php b/src/CheckCollection.php index 96ba1d6..c7542f1 100644 --- a/src/CheckCollection.php +++ b/src/CheckCollection.php @@ -57,10 +57,7 @@ protected function handleFinishedChecks() $finishedChecks->each->handleFinishedProcess(); } - /** - * @return int - */ - public function count() + public function count(): int { return count($this->pendingChecks); }