decouple from potter/template

This commit is contained in:
2026-03-21 09:44:52 -04:00
parent d71453a026
commit 76ab1af96c
2 changed files with 2 additions and 4 deletions

View File

@@ -20,7 +20,6 @@
"minimum-stability": "stable", "minimum-stability": "stable",
"require": { "require": {
"php": "^8.3", "php": "^8.3",
"potter/stringable": "^1.0", "potter/stringable": "^1.0"
"potter/template": "^1.0"
} }
} }

View File

@@ -5,10 +5,9 @@ declare(strict_types=1);
namespace Potter\Throwable; namespace Potter\Throwable;
use \Potter\Stringable\StringableInterface; use \Potter\Stringable\StringableInterface;
use \Potter\Template\TemplateInterface;
use \Throwable as BaseThrowable; use \Throwable as BaseThrowable;
interface ThrowableInterface extends StringableInterface, TemplateInterface interface ThrowableInterface extends StringableInterface
{ {
public function getMessage(): string; public function getMessage(): string;
public function getCode(): int; public function getCode(): int;