Skip to content

Commit 826bd23

Browse files
committed
[FrameworkBundle] fix phpDoc of ControllerResolver::createController()
1 parent e3cf37f commit 826bd23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Controller/ControllerResolver.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ public function __construct(ContainerInterface $container, ControllerNameParser
4848
* @param string $controller A Controller string
4949
*
5050
* @return mixed A PHP callable
51+
*
52+
* @throws \LogicException When the name could not ne parsed
53+
* @throws \InvalidArgumentExcetion When the controller class does not exist
5154
*/
5255
protected function createController($controller)
5356
{

0 commit comments

Comments
 (0)