From eaa899576ce5d8c7024e35619d9e4cc6156af373 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Mon, 27 Jun 2011 07:28:17 -0400 Subject: [PATCH] Grammatical fix. --- doc/advanced.rst | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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')); -- 1.7.2.5