Skip to content

Commit

Permalink
Merge pull request #9151 from kenjis/fix-comment-Router.php
Browse files Browse the repository at this point in the history
docs: fix doc comments for Router
  • Loading branch information
kenjis committed Aug 30, 2024
2 parents 83d1bd9 + 679ba59 commit 77f5e47
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 77f5e47

Please sign in to comment.