diff --git a/lib/Twig/Template.php b/lib/Twig/Template.php index c3a3bd770..cf7c79d2e 100644 --- a/lib/Twig/Template.php +++ b/lib/Twig/Template.php @@ -156,7 +156,7 @@ abstract class Twig_Template implements Twig_TemplateInterface if (null !== $template) { // avoid RCEs when sandbox is enabled if (!$template instanceof self) { - throw new \LogicException('A block must be a method on a Twig_Template instance.'); + throw new LogicException('A block must be a method on a Twig_Template instance.'); } try {