fixed typo in phpdoc
authorFabien Potencier <fabien.potencier@gmail.com>
Wed, 26 May 2010 11:19:42 +0000 (13:19 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Wed, 26 May 2010 11:19:48 +0000 (13:19 +0200)
lib/Twig/Token.php

index 88bf898..e900850 100644 (file)
@@ -40,9 +40,9 @@ class Twig_Token
 
     /**
      * Test the current token for a type.  The first argument is the type
-     * of the token (if not given Twig_Token::NAME_NAME), the second the
+     * of the token (if not given Twig_Token::NAME_TYPE), the second the
      * value of the token (if not given value is not checked).
-     * the token value can be an array if multiple checks shoudl be
+     * the token value can be an array if multiple checks should be
      * performed.
      */
     public function test($type, $values = null)