From 6ae64de5646341d16621387b13af9b38f47dbcdf Mon Sep 17 00:00:00 2001 From: Jay Bharadiya Date: Thu, 16 Mar 2023 18:24:20 +0530 Subject: [PATCH] Convert getContentCount into static one --- src/Matomo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Matomo.php b/src/Matomo.php index d58db2e..b3e517e 100755 --- a/src/Matomo.php +++ b/src/Matomo.php @@ -404,7 +404,7 @@ private static function getProcessedReport(int $matomoAnalyticsId, string $date) * https://analytics.page-maker.site/?module=API&method=Contents.getContentNames&idSite=32&period=range&date=2020-07-07,today&format=json&token_auth=c1752db0f01c3f9e4bd18e0bc2fafbc3&label=Product+Page * Use the reportTotal from the response as it is all pre calculated */ - private function getContentCount($contentName, int $matomoAnalyticsId, string $date) + private static function getContentCount($contentName, int $matomoAnalyticsId, string $date) { $apiParams = [ 'method' => 'Contents.getContentNames',