Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74df71a

Browse files
feature #57671 [Messenger] Let WrappedExceptionsInterface extend the native Throwable interface (xabbuh)
This PR was merged into the 7.2 branch. Discussion ---------- [Messenger] Let WrappedExceptionsInterface extend the native Throwable interface | Q | A | ------------- | --- | Branch? | 7.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | Fix #57667 | License | MIT We already did that in the past for `ExceptionInterface` in #28307. Commits ------- 0193dcd let WrappedExceptionsInterface extend the native Throwable interface
2 parents d87275c + 0193dcd commit 74df71a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Symfony/Component/Messenger/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
7.2
55
---
66

7+
* `WrappedExceptionsInterface` now extends PHP's `Throwable` interface
78
* Add `#[AsMessage]` attribute with `$transport` parameter for message routing
89
* Add `--format` option to the `messenger:stats` command
910

src/Symfony/Component/Messenger/Exception/WrappedExceptionsInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @author Jeroen <https://github.com/Jeroeny>
1818
*/
19-
interface WrappedExceptionsInterface
19+
interface WrappedExceptionsInterface extends \Throwable
2020
{
2121
/**
2222
* @return \Throwable[]

0 commit comments

Comments
 (0)