Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/API/Renderer/Rss.php')
-rw-r--r--plugins/API/Renderer/Rss.php7
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');