Skip to content

Commit 07f30c2

Browse files
author
Tim Helfensdörfer
committed
Added type for the setPeriod method
1 parent c408b96 commit 07f30c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Matomo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function getPeriod(): string
314314
* PERIOD_RANGE
315315
* @return $this
316316
*/
317-
public function setPeriod(string $period)
317+
public function setPeriod(string $period): Matomo
318318
{
319319
$this->_period = $period;
320320

0 commit comments

Comments
 (0)