Skip to content

Commit 77f5e47

Browse files
authored
Merge pull request #9151 from kenjis/fix-comment-Router.php
docs: fix doc comments for Router
2 parents 83d1bd9 + 679ba59 commit 77f5e47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/Router/Router.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function __construct(RouteCollectionInterface $routes, ?Request $request
181181
}
182182

183183
/**
184-
* Finds the controller method corresponding to the URI.
184+
* Finds the controller corresponding to the URI.
185185
*
186186
* @param string|null $uri URI path relative to baseURL
187187
*
@@ -241,7 +241,7 @@ public function getFilters(): array
241241
}
242242

243243
/**
244-
* Returns the name of the matched controller.
244+
* Returns the name of the matched controller or closure.
245245
*
246246
* @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure
247247
*/
@@ -254,7 +254,7 @@ public function controllerName()
254254

255255
/**
256256
* Returns the name of the method to run in the
257-
* chosen container.
257+
* chosen controller.
258258
*/
259259
public function methodName(): string
260260
{

0 commit comments

Comments
 (0)