Grammatical fix.
authorMark Story <mark@mark-story.com>
Mon, 27 Jun 2011 11:28:17 +0000 (07:28 -0400)
committerMark Story <mark@mark-story.com>
Mon, 27 Jun 2011 11:28:17 +0000 (07:28 -0400)
doc/advanced.rst

index 12f44b9..96d7697 100644 (file)
@@ -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'));