Skip to content

Commit

Permalink
Convert getContentCount into static one
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-r-7span committed Mar 16, 2023
1 parent 00ad305 commit 6ae64de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Matomo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6ae64de

Please sign in to comment.