mirror of
https://github.com/flarum/core.git
synced 2025-08-02 14:37:49 +02:00
Make StyleCI happy
This commit is contained in:
@@ -60,10 +60,8 @@ class DispatchRoute
|
|||||||
switch ($routeInfo[0]) {
|
switch ($routeInfo[0]) {
|
||||||
case Dispatcher::NOT_FOUND:
|
case Dispatcher::NOT_FOUND:
|
||||||
throw new RouteNotFoundException;
|
throw new RouteNotFoundException;
|
||||||
|
|
||||||
case Dispatcher::METHOD_NOT_ALLOWED:
|
case Dispatcher::METHOD_NOT_ALLOWED:
|
||||||
throw new MethodNotAllowedException;
|
throw new MethodNotAllowedException;
|
||||||
|
|
||||||
case Dispatcher::FOUND:
|
case Dispatcher::FOUND:
|
||||||
$handler = $routeInfo[1];
|
$handler = $routeInfo[1];
|
||||||
$parameters = $routeInfo[2];
|
$parameters = $routeInfo[2];
|
||||||
|
Reference in New Issue
Block a user