From: Mark Story Date: Mon, 27 Jun 2011 11:28:17 +0000 (-0400) Subject: Grammatical fix. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=eaa899576ce5d8c7024e35619d9e4cc6156af373;p=web%2Fkonrad%2Ftwig.git Grammatical fix. --- diff --git a/doc/advanced.rst b/doc/advanced.rst index 12f44b9..96d7697 100644 --- a/doc/advanced.rst +++ b/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'));