Skip to content

Commit 0193dcd

Browse files
committed
let WrappedExceptionsInterface extend the native Throwable interface
1 parent fe7f3af commit 0193dcd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Symfony/Component/Messenger/CHANGELOG.md

+1
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

+1-1
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)