merged branch caponica/HttpKernelExtension_phpdoc_fix (PR #7573)
This PR was merged into the 2.2 branch.
Discussion
----------
[Symfony\Bridge\Twig\Extension] fixed two methods' documentation blocks
| Q | A
| ------------- | ---
| Fixed tickets | None
| License | MIT
Fixed phpdoc blocks to show that $uri can be passed as a string or ControllerReference (rather than just as a string)
Commits
-------
2ea5eaa
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:
commit
b11b0f7f26
@ -45,7 +45,7 @@ class HttpKernelExtension extends \Twig_Extension
|
||||
/**
|
||||
* Renders a fragment.
|
||||
*
|
||||
* @param string $uri A URI
|
||||
* @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
|
||||
@ -66,7 +66,7 @@ class HttpKernelExtension extends \Twig_Extension
|
||||
* Renders a fragment.
|
||||
*
|
||||
* @param string $strategy A strategy name
|
||||
* @param string $uri A URI
|
||||
* @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