Permalink
Browse files

Grammatical fix.

  • Loading branch information...
1 parent c178c28 commit eaa899576ce5d8c7024e35619d9e4cc6156af373 @markstory markstory committed Jun 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/advanced.rst
View
2 doc/advanced.rst
@@ -267,7 +267,7 @@ Adding a function is similar to adding a filter. This can be done by calling the
You can also expose extension methods as functions in your templates::
- // $this is an object that implements instance of Twig_ExtensionInterface.
+ // $this is an object that implements Twig_ExtensionInterface.
$twig = new Twig_Environment($loader);
$twig->addFunction('otherFunction', new Twig_Function_Method($this, 'someMethod'));

0 comments on commit eaa8995

Please sign in to comment.