Permalink
Browse files

Fixed phpdoc blocks to show that $uri can be passed as a string or Co…

…ntrollerReference (rather than just as a string)
  • Loading branch information...
1 parent 5082201 commit 2ea5eaadc6ad5992a00e0e28254251aa18637450 Christian Morgan committed Apr 5, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/Symfony/Bridge/Twig/Extension/HttpKernelExtension.php
@@ -45,8 +45,8 @@ public function getFunctions()
/**
* 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 @@ public function renderFragment($uri, $options = array())
/**
* 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
*

0 comments on commit 2ea5eaa

Please sign in to comment.