diff options
Diffstat (limited to 'plugins/API/Renderer/Rss.php')
-rw-r--r-- | plugins/API/Renderer/Rss.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/API/Renderer/Rss.php b/plugins/API/Renderer/Rss.php index 3ee1c287bc..5bbcac78aa 100644 --- a/plugins/API/Renderer/Rss.php +++ b/plugins/API/Renderer/Rss.php @@ -16,7 +16,12 @@ use Piwik\DataTable; class Rss extends ApiRenderer { - public function renderException($message, \Exception $exception) + /** + * @param $message + * @param \Exception|\Throwable $exception + * @return string + */ + public function renderException($message, $exception) { self::sendHeader('plain'); |