Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix doc comments for Router #9151

Merged
merged 2 commits into from
Aug 30, 2024
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
Loading