diff options
Diffstat (limited to 'plugins/API/Renderer/Html.php')
-rw-r--r-- | plugins/API/Renderer/Html.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/API/Renderer/Html.php b/plugins/API/Renderer/Html.php index 4037c35b4e..48acbb355f 100644 --- a/plugins/API/Renderer/Html.php +++ b/plugins/API/Renderer/Html.php @@ -16,7 +16,12 @@ use Piwik\DataTable; class Html extends ApiRenderer { - public function renderException($message, \Exception $exception) + /** + * @param $message + * @param Exception|\Throwable $exception + * @return string + */ + public function renderException($message, $exception) { Common::sendHeader('Content-Type: text/plain; charset=utf-8', true); |