From 992b64bc6b1b64c4cbc0aa59d548142678a9ada5 Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Sat, 28 Dec 2013 10:24:52 +0000 Subject: [PATCH 1/2] Fixed typo --- src/Symfony/Component/Debug/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index f929c7c6ccc9d..65f871c307c51 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -142,7 +142,7 @@ function ($row) { // we must stop the PHP script execution, as the exception has // already been dealt with, so, let's throw an exception that - // will be catched by a dummy exception handler + // will be caught by a dummy exception handler set_exception_handler(function (\Exception $e) use ($exceptionHandler) { if (!$e instanceof DummyException) { // happens if our dummy exception is catched by a From 492a99efdc58e331bd9ee705c98817cbaab1a534 Mon Sep 17 00:00:00 2001 From: Pascal Borreli Date: Sat, 28 Dec 2013 10:25:45 +0000 Subject: [PATCH 2/2] Fixed typo --- src/Symfony/Component/Debug/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index 65f871c307c51..09eba3f28da8a 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -145,7 +145,7 @@ function ($row) { // will be caught by a dummy exception handler set_exception_handler(function (\Exception $e) use ($exceptionHandler) { if (!$e instanceof DummyException) { - // happens if our dummy exception is catched by a + // happens if our dummy exception is caught by a // catch-all from user code, in which case, let's the // current handler handle this "new" exception call_user_func($exceptionHandler, $e);