diff --git a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php index d0b91f875c..3c2d14d03c 100644 --- a/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php @@ -132,7 +132,7 @@ class ExceptionController $loader->getSource($template); return true; - } catch (Twig_Error_Loader $e) { + } catch (\Twig_Error_Loader $e) { } return false; diff --git a/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php b/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php index 9b6d9a4001..64108d58ad 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.php @@ -107,7 +107,7 @@ class ExceptionController $loader->getSource($template); return true; - } catch (Twig_Error_Loader $e) { + } catch (\Twig_Error_Loader $e) { } return false; diff --git a/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php b/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php index a3a142af83..63032ecd4c 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php +++ b/src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php @@ -129,7 +129,7 @@ class TemplateManager $loader->getSource($template); return true; - } catch (Twig_Error_Loader $e) { + } catch (\Twig_Error_Loader $e) { } return false;