diff --git a/src/throwable.php b/src/throwable.php index fe19a23..08bf1d6 100644 --- a/src/throwable.php +++ b/src/throwable.php @@ -2,5 +2,23 @@ // @codingStandardsIgnoreFile // phpcs:ignore if (!interface_exists('Throwable')) { - interface Throwable {} + interface Throwable + { + /** @return string */ + public function getMessage(); + /** @return int */ + public function getCode(); + /** @return string */ + public function getFile(); + /** @return int */ + public function getLine(); + /** @return array */ + public function getTrace(); + /** @return string */ + public function getTraceAsString(); + /** @return null|Throwable */ + public function getPrevious(); + /** @return string */ + public function __toString(); + } }