]> _ Git - cubist_matomo.git/commitdiff
wip #5877 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 26 May 2023 13:56:20 +0000 (15:56 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 26 May 2023 13:56:20 +0000 (15:56 +0200)
src/Reporting.php

index c2cffa5309427a9cf91c359d51f187c8f28b6bbf..32cbeb2a877a82dea5f3b9951099431977285f35 100644 (file)
@@ -335,8 +335,8 @@ class Reporting {
         return $this->apiCall('UserCountry.getCountry', $params);
     }
 
-    public function getVisitsSummary() {
-        $res = $this->getVisits();
+    public function getVisitsSummary($params = []) {
+        return $this->apiCall('VisitsSummary.get', $params);
     }
 
     /**