Skip to content

Commit f5a2841

Browse files
committed
docs: add @phpstan-return
1 parent f6e6362 commit f5a2841

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

system/Router/DefinedRouteCollector.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public function __construct(RouteCollection $routes)
2626
$this->routeCollection = $routes;
2727
}
2828

29+
/**
30+
* @phpstan-return Generator<array{method: string, route: string, name: string, handler: string}>
31+
*/
2932
public function collect(): Generator
3033
{
3134
$methods = [

0 commit comments

Comments
 (0)