Skip to content

Commit

Permalink
Merge pull request #3 from joesaunderson/#1-fix_include_query_param
Browse files Browse the repository at this point in the history
Fix incorrect key for includes.
  • Loading branch information
joesaunderson authored Jun 18, 2019
2 parents bd2568e + 38c0b0a commit ad6e724
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 @@ -92,7 +92,7 @@ public function setFixtures(array $fixtureIds)
public function setIncludes(array $includes)
{
// Trim & Join Array of Includes
$this->query['includes'] = implode(",", array_map("trim", array_filter($includes)));
$this->query['include'] = implode(",", array_map("trim", array_filter($includes)));
return $this;
}

Expand Down

0 comments on commit ad6e724

Please sign in to comment.