We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc3a9a0 commit 4c5a8f6Copy full SHA for 4c5a8f6
RouteCollection.php
@@ -54,21 +54,17 @@ public function __clone()
54
*
55
* @see all()
56
57
- * @return \ArrayIterator|Route[] An \ArrayIterator object for iterating over routes
+ * @return \ArrayIterator<string, Route> An \ArrayIterator object for iterating over routes
58
*/
59
- #[\ReturnTypeWillChange]
60
- public function getIterator()
+ public function getIterator(): \ArrayIterator
61
{
62
return new \ArrayIterator($this->all());
63
}
64
65
/**
66
* Gets the number of Routes in this collection.
67
- *
68
- * @return int The number of routes
69
70
71
- public function count()
+ public function count(): int
72
73
return \count($this->routes);
74
0 commit comments