Skip to content

Commit 679ba59

Browse files
committed
docs: make comments more precise
1 parent e3324e7 commit 679ba59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Router/Router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)