Skip to content

Commit

Permalink
Remove Throwable interface from exceptions (port of #31 to 2.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Mar 8, 2021
1 parent 68f5200 commit 19764b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ContainerExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
/**
* Base interface representing a generic exception in a container.
*/
interface ContainerExceptionInterface extends \Throwable
interface ContainerExceptionInterface
{
}
2 changes: 1 addition & 1 deletion src/NotFoundExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
/**
* No entry was found in the container.
*/
interface NotFoundExceptionInterface extends ContainerExceptionInterface
interface NotFoundExceptionInterface

This comment has been minimized.

Copy link
@weierophinney

weierophinney Mar 24, 2021

Contributor

Why was this removed? This isn't extending Throwable here...

This comment has been minimized.

Copy link
@Jean85

Jean85 Mar 24, 2021

Author Member

Crap, my mistake here. I'll revert immediately.

This comment has been minimized.

Copy link
@Jean85

Jean85 Mar 24, 2021

Author Member

Done in 2ae3732

{
}

0 comments on commit 19764b1

Please sign in to comment.