File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -102,12 +102,12 @@ class Matomo
102102 *
103103 * @param string $site URL of the matomo installation
104104 * @param string $token API Access token
105- * @param int $siteId ID of the site
105+ * @param int|null $siteId ID of the site
106106 * @param string $format
107107 * @param string $period
108108 * @param string $date
109109 * @param string $rangeStart
110- * @param string $rangeEnd
110+ * @param string|null $rangeEnd
111111 */
112112 function __construct (
113113 $ site ,
@@ -274,7 +274,7 @@ public function getDate(): string
274274 /**
275275 * Set date
276276 *
277- * @param string $date Format Y-m-d or class constant:
277+ * @param string|null $date Format Y-m-d or class constant:
278278 * DATE_TODAY
279279 * DATE_YESTERDAY
280280 * @return $this
@@ -333,8 +333,8 @@ public function getRange(): string
333333 /**
334334 * Set date range
335335 *
336- * @param string $rangeStart e.g. 2012-02-10 (YYYY-mm-dd) or last5(lastX), previous12(previousY)...
337- * @param string $rangeEnd e.g. 2012-02-12. Leave this parameter empty to request all data from
336+ * @param string|null $rangeStart e.g. 2012-02-10 (YYYY-mm-dd) or last5(lastX), previous12(previousY)...
337+ * @param string|null $rangeEnd e.g. 2012-02-12. Leave this parameter empty to request all data from
338338 * $rangeStart until now
339339 * @return $this
340340 */
You can’t perform that action at this time.
0 commit comments