Skip to content

Commit 97002d0

Browse files
committed
docs: add PHPDocs
1 parent 3eab713 commit 97002d0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

system/Router/Router.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ public function __construct(RouteCollectionInterface $routes, ?Request $request
155155
}
156156

157157
/**
158+
* Finds the controller method corresponding to the URI.
159+
*
160+
* @param string|null $uri URI path relative to baseURL
161+
*
158162
* @return Closure|string Controller classname or Closure
159163
*
160164
* @throws PageNotFoundException

system/Router/RouterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function __construct(RouteCollectionInterface $routes, ?Request $request
2727
/**
2828
* Finds the controller method corresponding to the URI.
2929
*
30-
* @param string $uri
30+
* @param string|null $uri URI path relative to baseURL
3131
*
3232
* @return Closure|string Controller classname or Closure
3333
*/

0 commit comments

Comments
 (0)