@@ -81,17 +81,17 @@ |
||
81 | 81 | public function match($request, &$variables = null, &$hostVariables = null): bool; |
82 | 82 | |
83 | 83 | /** |
84 | - * Returns the route's link. |
|
85 | - * |
|
86 | - * @param array $params The route parameters. |
|
87 | - * @param array $options Options for generating the proper prefix. Accepted values are: |
|
88 | - * - `'absolute'` _boolean_: `true` or `false`. - `'scheme'` |
|
89 | - * _string_ : The scheme. - `'host'` _string_ : The host |
|
90 | - * name. - `'basePath'` _string_ : The base path. - `'query'` |
|
91 | - * _string_ : The query string. - `'fragment'` _string_ : The |
|
92 | - * fragment string. |
|
93 | - * @return string The link. |
|
94 | - */ |
|
84 | + * Returns the route's link. |
|
85 | + * |
|
86 | + * @param array $params The route parameters. |
|
87 | + * @param array $options Options for generating the proper prefix. Accepted values are: |
|
88 | + * - `'absolute'` _boolean_: `true` or `false`. - `'scheme'` |
|
89 | + * _string_ : The scheme. - `'host'` _string_ : The host |
|
90 | + * name. - `'basePath'` _string_ : The base path. - `'query'` |
|
91 | + * _string_ : The query string. - `'fragment'` _string_ : The |
|
92 | + * fragment string. |
|
93 | + * @return string The link. |
|
94 | + */ |
|
95 | 95 | public function link(array $params = [], array $options = []): string; |
96 | 96 | |
97 | 97 | /** |
@@ -70,12 +70,12 @@ |
||
70 | 70 | \} |
71 | 71 | EOD; |
72 | 72 | /** |
73 | - * Tokenizes a route pattern. Optional segments are identified by square brackets. |
|
74 | - * |
|
75 | - * @param string $pattern A route pattern |
|
76 | - * @param string $delimiter The path delimiter. |
|
77 | - * @return array |
|
78 | - */ |
|
73 | + * Tokenizes a route pattern. Optional segments are identified by square brackets. |
|
74 | + * |
|
75 | + * @param string $pattern A route pattern |
|
76 | + * @param string $delimiter The path delimiter. |
|
77 | + * @return array |
|
78 | + */ |
|
79 | 79 | public static function tokenize(string $pattern, string $delimiter = '/'): array |
80 | 80 | { |
81 | 81 | // Checks if the pattern has some optional segments. |