Skip to content

Commit caf6e23

Browse files
committed
docs: update doc comment
1 parent fa19f11 commit caf6e23

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

system/Router/RouteCollection.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,18 @@ class RouteCollection implements RouteCollectionInterface
117117
* [
118118
* verb => [
119119
* routeKey(regex) => [
120-
* 'name' => routeName
121-
* 'handler' => handler,
122-
* 'from' => from,
120+
* 'name' => routeName
121+
* 'handler' => handler,
122+
* 'from' => from,
123123
* ],
124-
* // redirect route
125-
* or routeKey(regex)(from) => [
124+
* ],
125+
* // redirect route
126+
* '*' => [
127+
* routeKey(regex)(from) => [
126128
* 'name' => routeName
127129
* 'handler' => [routeKey(regex)(to) => handler],
130+
* 'from' => from,
128131
* 'redirect' => statusCode,
129-
* 'from' => from,
130132
* ],
131133
* ],
132134
* ]

0 commit comments

Comments
 (0)