Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions system/Router/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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
*/
Expand All @@ -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
{
Expand Down