8000 Inherit Throwable in HttpExceptionInterface · symfony/symfony@b2d201b · GitHub
[go: up one dir, main page]

Skip to content

Commit b2d201b

Browse files
committed
Inherit Throwable in HttpExceptionInterface
1 parent 00792fc commit b2d201b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

UPGRADE-5.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ HttpKernel
340340
* Removed the second and third argument of `FileLocator::__construct`
341341
* Removed loading resources from `%kernel.root_dir%/Resources` and `%kernel.root_dir%` as
342342
fallback directories.
343+
* Added `Throwable` as a parent to the `HttpExceptionInterface` interface
343344

344345
Intl
345346
----

src/Symfony/Component/HttpKernel/Exception/HttpExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @author Kris Wallsmith <kris@symfony.com>
1818
*/
19-
interface HttpExceptionInterface
19+
interface HttpExceptionInterface extends \Throwable
2020
{
2121
/**
2222
* Returns the status code.

0 commit comments

Comments
 (0)
0