From: Fabien Potencier Date: Sun, 19 Dec 2010 10:43:03 +0000 (+0100) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=5c5e33ee12adf12625d47df489c3bf883552075c;p=web%2Fkonrad%2Ftwig.git fixed typo --- diff --git a/lib/Twig/Sandbox/SecurityPolicy.php b/lib/Twig/Sandbox/SecurityPolicy.php index 523fffc..567780b 100644 --- a/lib/Twig/Sandbox/SecurityPolicy.php +++ b/lib/Twig/Sandbox/SecurityPolicy.php @@ -67,7 +67,7 @@ class Twig_Sandbox_SecurityPolicy implements Twig_Sandbox_SecurityPolicyInterfac public function checkMethodAllowed($obj, $method) { - if ($obj instanceof Twig_Template) { + if ($obj instanceof Twig_TemplateInterface) { return true; }