Skip to content

Commit

Permalink
Corrected an exception's typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rewieer authored and xabbuh committed Jul 9, 2016
1 parent 32c2ee1 commit 4752c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Controller/ControllerTrait.php
Expand Up @@ -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;
Expand Down

0 comments on commit 4752c62

Please sign in to comment.