From 4752c629a08a2847dd136dbf7351a72a838d936a Mon Sep 17 00:00:00 2001 From: Rewieer Date: Thu, 7 Jul 2016 10:59:12 +0200 Subject: [PATCH] Corrected an exception's typo --- Controller/ControllerTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/ControllerTrait.php b/Controller/ControllerTrait.php index a11139151..ebb160da8 100644 --- a/Controller/ControllerTrait.php +++ b/Controller/ControllerTrait.php @@ -46,7 +46,7 @@ public function setViewHandler(ViewHandlerInterface $viewhandler) protected function getViewHandler() { if (!$this->viewhandler instanceof ViewHandlerInterface) { - throw new \RuntimeException('A "ViewHandlerInterface" instance must be set when usign the FOSRestBundle "ControllerTrait".'); + throw new \RuntimeException('A "ViewHandlerInterface" instance must be set when using the FOSRestBundle "ControllerTrait".'); } return $this->viewhandler;