|
@@ -29,9 +29,9 @@ |
|
|
block discarded – undo |
|
29
|
29
|
|
|
30
|
30
|
switch ($result[0]) { |
|
31
|
31
|
case self::NOT_FOUND: |
|
32
|
|
- throw new NotFoundHttpException('Route not found: ' . $request->getPathInfo()); |
|
|
32
|
+ throw new NotFoundHttpException('Route not found: '.$request->getPathInfo()); |
|
33
|
33
|
case self::METHOD_NOT_ALLOWED: |
|
34
|
|
- throw new ClientException(ExceptionTokens::INVALID_REQUEST, 405, 'Method not allowed: ' . $request->getMethod()); |
|
|
34
|
+ throw new ClientException(ExceptionTokens::INVALID_REQUEST, 405, 'Method not allowed: '.$request->getMethod()); |
|
35
|
35
|
case self::FOUND: |
|
36
|
36
|
$controller = $this->controllerResolver->getController($result[1]); |
|
37
|
37
|
$params = array_values($result[2]); |
Please login to merge, or discard this patch.