From 552185a98af363370fe72a1d056fe16aed31e4dd Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 22 Dec 2012 21:58:25 +0100 Subject: [PATCH] [WebProfilerBundle] fixed wrong class name --- .../Bundle/TwigBundle/Controller/ExceptionController.php | 2 +- .../Bundle/WebProfilerBundle/Controller/ExceptionController.php | 2 +- .../Bundle/WebProfilerBundle/Profiler/TemplateManager.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;