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.
2 parents 0a35d2f + 939571d commit 1241a00Copy full SHA for 1241a00
RouteCollection.php
@@ -56,6 +56,7 @@ public function __clone()
56
*
57
* @return \ArrayIterator|Route[] An \ArrayIterator object for iterating over routes
58
*/
59
+ #[\ReturnTypeWillChange]
60
public function getIterator()
61
{
62
return new \ArrayIterator($this->all());
@@ -66,6 +67,7 @@ public function getIterator()
66
67
68
* @return int The number of routes
69
70
71
public function count()
72
73
return \count($this->routes);
0 commit comments