From: Fabien Potencier Date: Mon, 11 Oct 2010 10:27:59 +0000 (+0200) Subject: fixed typo in the doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=3daa9f095c721968eea54cad84790214819c92b7;p=web%2Fkonrad%2Ftwig.git fixed typo in the doc --- diff --git a/doc/04-Extending-Twig.markdown b/doc/04-Extending-Twig.markdown index c1222e4..e4b3f0b 100644 --- a/doc/04-Extending-Twig.markdown +++ b/doc/04-Extending-Twig.markdown @@ -460,7 +460,7 @@ Now, let's see the actual code of this class: { $lineno = $token->getLine(); $name = $this->parser->getStream()->expect(Twig_Token::NAME_TYPE)->getValue(); - $this->parser->getStream()->expect(Twig_Token::NAME_TYPE, '='); + $this->parser->getStream()->expect(Twig_Token::OPERATOR_TYPE, '='); $value = $this->parser->getExpressionParser()->parseExpression(); $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE);