Skip to content

Commit 991151c

Browse files
committed
docs: fix doc comments
1 parent a1ebd15 commit 991151c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

system/Router/RouteCollection.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ class RouteCollection implements RouteCollectionInterface
112112
* verb => [
113113
* routeName => [
114114
* 'route' => [
115-
* routeKey(or from) => handler,
116-
* ]
115+
* routeKey(regex) => handler,
116+
* ],
117+
* 'redirect' => statusCode,
117118
* ]
118119
* ],
119120
* ]
@@ -138,7 +139,7 @@ class RouteCollection implements RouteCollectionInterface
138139
*
139140
* [
140141
* verb => [
141-
* routeKey(or from) => [
142+
* routeKey(regex) => [
142143
* key => value,
143144
* ]
144145
* ],

0 commit comments

Comments
 (0)