From 6ae0a631f070ad666294d4f8a107cd5a1569bc59 Mon Sep 17 00:00:00 2001 From: honzapospi Date: Wed, 16 Nov 2016 13:40:03 +0100 Subject: [PATCH] Added apostrof in exception maessage --- src/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application.php b/src/Application.php index a60a7fa..4870c67 100644 --- a/src/Application.php +++ b/src/Application.php @@ -61,7 +61,7 @@ public function run(){ $path = $path ? $path : '/'; $routeResponse = $this->routeList->match($path, $this->request->method); if(!$routeResponse) - throw new BadRequestException('Unsupported '.$this->request->method.' '.$path.' request'); + throw new BadRequestException('Unsupported '.$this->request->method.' "'.$path.'"" request'); $instance = $this->container->getByType($routeResponse['classname']); if(!$instance instanceof IController) { throw new ApplicationException('Class "' . $routeResponse['classname'] . '" must be instance of RestServer\IController');