Sfoglia il codice sorgente

[TwigBundle] fixed phpdoc in RouteTokenParser

Matthieu Bontemps 15 anni fa
parent
commit
a9c047f846

+ 1 - 1
src/Symfony/Framework/TwigBundle/TokenParser/RouteTokenParser.php

@@ -16,7 +16,7 @@ use Symfony\Framework\TwigBundle\Node\HelperNode;
 /**
  * Wrapper for the route helper generate() method.
  *
- * {% route blog_post with ['id': post.id] %}
+ * {% route 'blog_post' with ['id': post.id] %}
  *
  * @package    Symfony
  * @subpackage Framework_TwigBundle