Declaration of Exception::getCode() must be compatible with Potter\Throwable\ThrowableInterface::getCode(): int
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user