diff --git a/composer.json b/composer.json index 2f7e7e4..5dda12e 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,8 @@ "name": "potter/throwable", "type": "library", "require": { - "php": "^8.4" + "php": "^8.4", + "potter/stringable": "dev-main" }, "license": "MIT", "autoload": { diff --git a/src/Potter/Throwable/ThrowableInterface.php b/src/Potter/Throwable/ThrowableInterface.php index 02fb4d7..05750d5 100644 --- a/src/Potter/Throwable/ThrowableInterface.php +++ b/src/Potter/Throwable/ThrowableInterface.php @@ -4,7 +4,9 @@ declare(strict_types=1); namespace Potter\Throwable; -interface ThrowableInterface +use \Potter\Stringable\StringableInterface; + +interface ThrowableInterface extends StringableInterface { }