diff --git a/composer.json b/composer.json index 4bc837a..baf6cd1 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "php": ">=7.2.0" + "php": ">=7.4.0" }, "autoload": { "psr-4": { diff --git a/src/ContainerExceptionInterface.php b/src/ContainerExceptionInterface.php index cf10b8b..0f213f2 100644 --- a/src/ContainerExceptionInterface.php +++ b/src/ContainerExceptionInterface.php @@ -2,9 +2,11 @@ namespace Psr\Container; +use Throwable; + /** * Base interface representing a generic exception in a container. */ -interface ContainerExceptionInterface +interface ContainerExceptionInterface extends Throwable { }