From 826bd230a1e8b75eec36cae32102339e04c46522 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Mon, 6 Feb 2012 13:00:36 +0100 Subject: [PATCH] [FrameworkBundle] fix phpDoc of ControllerResolver::createController() --- .../Bundle/FrameworkBundle/Controller/ControllerResolver.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php index 317e98f753..a57228bba6 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php +++ b/src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php @@ -48,6 +48,9 @@ class ControllerResolver extends BaseControllerResolver * @param string $controller A Controller string * * @return mixed A PHP callable + * + * @throws \LogicException When the name could not ne parsed + * @throws \InvalidArgumentExcetion When the controller class does not exist */ protected function createController($controller) {