|
|
@@ -250,7 +250,7 @@ class Route {
|
|
|
* false will be returned. String URLs are parsed if they match a routes regular expression.
|
|
|
*
|
|
|
* @param string $url The URL to attempt to parse.
|
|
|
- * @return mixed Boolean false on failure, otherwise an array or parameters
|
|
|
+ * @return array|false Boolean false on failure, otherwise an array of parameters.
|
|
|
*/
|
|
|
public function parse($url) {
|
|
|
$request = Router::getRequest(true) ?: Request::createFromGlobals();
|