Skip to content

Commit 195fc22

Browse files
committed
feature #26702 Mark ExceptionInterfaces throwable (ostrolucky)
This PR was merged into the 4.1-dev branch. Discussion ---------- Mark ExceptionInterfaces throwable | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This interface is meant to be catched, but currently it doesn't guarantee class extending it is an instance of Throwable or Exception. Commits ------- b2d8792908 Mark ExceptionInterfaces throwable
2 parents e692f0f + 66fa1eb commit 195fc22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Exception/ExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
* @author Fabien Potencier <fabien@symfony.com>
1616
* @author Grégoire Pineau <lyrixx@lyrixx.info>
1717
*/
18-
interface ExceptionInterface
18+
interface ExceptionInterface extends \Throwable
1919
{
2020
}

0 commit comments

Comments
 (0)