diff options
Diffstat (limited to 'plugins/API/Renderer/Original.php')
-rw-r--r-- | plugins/API/Renderer/Original.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/API/Renderer/Original.php b/plugins/API/Renderer/Original.php index a0730acf2b..96895b8012 100644 --- a/plugins/API/Renderer/Original.php +++ b/plugins/API/Renderer/Original.php @@ -18,7 +18,13 @@ class Original extends ApiRenderer return true; } - public function renderException($message, \Exception $exception) + /** + * @param $message + * @param \Exception|\Throwable $exception + * @throws \Exception|\Throwable + * @return void + */ + public function renderException($message, $exception) { throw $exception; } |