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:
parent
50822015a6
commit
2ea5eaadc6
@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user