8000 minor #9875 Fixed typo (pborreli) · symfony/symfony@8dca5fc · GitHub
[go: up one dir, main page]

Skip to content

Commit 8dca5fc

Browse files
committed
minor #9875 Fixed typo (pborreli)
This PR was squashed before being merged into the 2.3 branch (closes #9875). Discussion ---------- Fixed typo | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Commits ------- 660ab38 Fixed typo
2 parents 976cdcc + 660ab38 commit 8dca5fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ function ($row) {
142142

143143
// we must stop the PHP script execution, as the exception has
144144
// already been dealt with, so, let's throw an exception that
145-
// will be catched by a dummy exception handler
145+
// will be caught by a dummy exception handler
146146
set_exception_handler(function (\Exception $e) use ($exceptionHandler) {
147147
if (!$e instanceof DummyException) {
148-
// happens if our dummy exception is catched by a
148+
// happens if our dummy exception is caught by a
149149
// catch-all from user code, in which case, let's the
150150
// current handler handle this "new" exception
151151
call_user_func($exceptionHandler, $e);

0 commit comments

Comments
 (0)
0