Skip to content

Commit abe19f0

Browse files
committed
docs: improve comments
1 parent a9d816e commit abe19f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

system/Router/AutoRouterImproved.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ public function getRoute(string $uri): array
168168
'\\'
169169
);
170170

171-
// Ensure routes registered via $routes->cli() are not accessible via web.
171+
// Ensure the controller is not defined in routes.
172172
$this->protectDefinedRoutes();
173173

174-
// Check _remap()
174+
// Ensure the controller does not have _remap() method.
175175
$this->checkRemap();
176176

177-
// Check parameters
177+
// Check parameter count
178178
try {
179179
$this->checkParameters($uri);
180180
} catch (ReflectionException $e) {

0 commit comments

Comments
 (0)