From d5e66bab3df8a90df3ca4ea7e7d789fe39fd65ac Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Mon, 6 Dec 2021 22:34:14 +0000 Subject: [PATCH] Use real return value (#39915) --- src/Illuminate/Database/Eloquent/Factories/Sequence.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Illuminate/Database/Eloquent/Factories/Sequence.php b/src/Illuminate/Database/Eloquent/Factories/Sequence.php index 12e10fd477e1..064cc4a4e759 100644 --- a/src/Illuminate/Database/Eloquent/Factories/Sequence.php +++ b/src/Illuminate/Database/Eloquent/Factories/Sequence.php @@ -44,8 +44,7 @@ public function __construct(...$sequence) * * @return int */ - #[\ReturnTypeWillChange] - public function count() + public function count(): int { return $this->count; }