Skip to content

Commit

Permalink
Adds default type for horizon stats
Browse files Browse the repository at this point in the history
  • Loading branch information
fodderstompf committed Apr 25, 2022
2 parents 0379ce5 + 099e03a commit fc94a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ploi/Resources/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function resume(int $id = null): Response
return $this->getPloi()->makeAPICall($this->getEndpoint() . '/resume', 'post');
}

public function horizonStatistics(string $type): Response
public function horizonStatistics(string $type = 'stats'): Response
{
$this->buildEndpoint();

Expand Down

0 comments on commit fc94a1c

Please sign in to comment.