Skip to content

Commit

Permalink
Merge pull request #5 from joesaunderson/#2-fix_bookmaker_parameter
Browse files Browse the repository at this point in the history
Fix incorrect key for bookmakers.
  • Loading branch information
joesaunderson authored Aug 6, 2019
2 parents ad6e724 + 8acded1 commit f169c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SoccerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function call(string $url)
public function setBookmakers(array $bookmakerIds)
{
// Trim & Join Array of Bookmaker IDs
$this->query['bookmaker'] = implode(",", array_map("trim", array_filter($bookmakerIds)));
$this->query['bookmakers'] = implode(",", array_map("trim", array_filter($bookmakerIds)));
return $this;
}

Expand Down

0 comments on commit f169c75

Please sign in to comment.