From df60052a3768abccd8e1d84d25a165c2989c8cd5 Mon Sep 17 00:00:00 2001 From: Jay Potter Date: Sat, 25 Oct 2025 13:00:12 -0400 Subject: [PATCH] Declaration of Exception::getCode() must be compatible with Potter\Throwable\ThrowableInterface::getCode(): int --- src/Potter/Throwable/ThrowableInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Potter/Throwable/ThrowableInterface.php b/src/Potter/Throwable/ThrowableInterface.php index 651b161..58d5d5e 100644 --- a/src/Potter/Throwable/ThrowableInterface.php +++ b/src/Potter/Throwable/ThrowableInterface.php @@ -10,7 +10,7 @@ use \Potter\Stringable\StringableInterface; interface ThrowableInterface extends StringableInterface { public function getMessage(): string; - public function getCode(): int; + public function getCode(); public function getFile(): string; public function getLine(): int; public function getTrace(): array;