8000 Remove Throwable interface from exceptions (port of #31 to 2.x) · php-fig/container@19764b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19764b1

Browse files
committed
Remove Throwable interface from exceptions (port of #31 to 2.x)
1 parent 68f5200 commit 19764b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ContainerExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
/**
66
* Base interface representing a generic exception in a container.
77
*/
8-
interface ContainerExceptionInterface extends \Throwable
8+
interface ContainerExceptionInterface
99
{
1010
}

src/NotFoundExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
/**
66
* No entry was found in the container.
77
*/
8-
interface NotFoundExceptionInterface extends ContainerExceptionInterface
8+
interface NotFoundExceptionInterface
99
{
1010
}

0 commit comments

Comments
 (0)
0