Completed
Pull Request — master (#21)
by Manu
32s
created
src/Route/Dispatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
 
29 29
         switch ($result[0]) {
30 30
             case self::NOT_FOUND:
31
-                throw new NotFoundHttpException('Route not found: ' . $request->getPathInfo());
31
+                throw new NotFoundHttpException('Route not found: '.$request->getPathInfo());
32 32
             case self::METHOD_NOT_ALLOWED:
33
-                throw new MethodNotAllowedHttpException(['Method not allowed: ' . $request->getMethod()]);
33
+                throw new MethodNotAllowedHttpException(['Method not allowed: '.$request->getMethod()]);
34 34
             case self::FOUND:
35 35
                 $controller = $this->controllerResolver->getController($result[1]);
36 36
                 $params = array_values($result[2]);
Please login to merge, or discard this patch.