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:
authorThomas Steur <tsteur@users.noreply.github.com>2020-11-30 05:53:03 +0300
committerGitHub <noreply@github.com>2020-11-30 05:53:03 +0300
commitfc2e8a5ea1d37a8db37e9e2330ba67faacdc71a2 (patch)
treec69b13e5af3b94e13034c4630e218ff3a54e273d /plugins/ScheduledReports
parent23739ca598715496e29323f44d1d800a22e3db07 (diff)
Improve php8 compatibility (#16838)
Diffstat (limited to 'plugins/ScheduledReports')
-rw-r--r--plugins/ScheduledReports/ScheduledReports.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php
index 05bb43ef78..cb93b663a6 100644
--- a/plugins/ScheduledReports/ScheduledReports.php
+++ b/plugins/ScheduledReports/ScheduledReports.php
@@ -301,8 +301,22 @@ class ScheduledReports extends \Piwik\Plugin
}
}
+ /**
+ * @param $reportType
+ * @param $report
+ * @param $contents
+ * @param $filename
+ * @param $prettyDate
+ * @param $reportSubject
+ * @param $reportTitle
+ * @param $additionalFiles
+ * @param Period|null $period
+ * @param $force
+ * @throws \DI\DependencyException
+ * @throws \DI\NotFoundException
+ */
public function sendReport($reportType, $report, $contents, $filename, $prettyDate, $reportSubject, $reportTitle,
- $additionalFiles, Period $period = null, $force)
+ $additionalFiles, $period, $force)
{
if (! self::manageEvent($reportType)) {
return;