Return type of Dingo\Api\Routing\RouteCollection::count() isn't compatible with Countable::count()
On PHP 7.4 >=
dingo/api/src/Routing/RouteCollection.php on line 9
Symfony\Component\ErrorHandler\Error\FatalError
During inheritance of Countable: Uncaught ErrorException: Return type of Dingo\Api\Routing\RouteCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Return type of Dingo\Api\Routing\RouteCollection::count() isn't compatible with Countable::count()
On PHP 7.4 >=
Same on getIterator()