mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: add @phpstan-return
This commit is contained in:
parent
f6e636256e
commit
f5a284154c
@ -26,6 +26,9 @@ final class DefinedRouteCollector
|
||||
$this->routeCollection = $routes;
|
||||
}
|
||||
|
||||
/**
|
||||
* @phpstan-return Generator<array{method: string, route: string, name: string, handler: string}>
|
||||
*/
|
||||
public function collect(): Generator
|
||||
{
|
||||
$methods = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user