diff --git a/system/Router/Router.php b/system/Router/Router.php index dc778cd03ffe..d60313f6c032 100644 --- a/system/Router/Router.php +++ b/system/Router/Router.php @@ -181,7 +181,7 @@ public function __construct(RouteCollectionInterface $routes, ?Request $request } /** - * Finds the controller method corresponding to the URI. + * Finds the controller corresponding to the URI. * * @param string|null $uri URI path relative to baseURL * @@ -241,7 +241,7 @@ public function getFilters(): array } /** - * Returns the name of the matched controller. + * Returns the name of the matched controller or closure. * * @return (Closure(mixed...): (ResponseInterface|string|void))|string Controller classname or Closure */ @@ -254,7 +254,7 @@ public function controllerName() /** * Returns the name of the method to run in the - * chosen container. + * chosen controller. */ public function methodName(): string {