Skip to content

Commit fd4eb8a

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 0c669dd + 39efc93 commit fd4eb8a

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
@@ -16,6 +16,6 @@
1616
*
1717
* @author Alexandre Salomé <alexandre.salome@gmail.com>
1818
*/
19-
interface ExceptionInterface
19+
interface ExceptionInterface extends \Throwable
2020
{
2121
}

0 commit comments

Comments
 (0)