Fixed phpdoc blocks to show that $uri can be passed as a string or ControllerReference (rather than just as a string)

This commit is contained in:
Christian Morgan 2013-04-05 22:29:42 +01:00
parent 50822015a6
commit 2ea5eaadc6

View File

@ -45,8 +45,8 @@ class HttpKernelExtension extends \Twig_Extension
/**
* Renders a fragment.
*
* @param string $uri A URI
* @param array $options An array of options
* @param string|ControllerReference $uri A URI as a string or a ControllerReference instance
* @param array $options An array of options
*
* @return string The fragment content
*
@ -65,9 +65,9 @@ class HttpKernelExtension extends \Twig_Extension
/**
* Renders a fragment.
*
* @param string $strategy A strategy name
* @param string $uri A URI
* @param array $options An array of options
* @param string $strategy A strategy name
* @param string|ControllerReference $uri A URI as a string or a ControllerReference instance
* @param array $options An array of options
*
* @return string The fragment content
*