Closed wpdomoneto closed 4 years ago
sportmonks-soccer\src\Endpoint\Stage.php
Current version: public function getBySeasonId(int $seasonId) { $url = "stages/{$seasonId}"; return $this->call($url); }
Need version: public function getBySeasonId(int $seasonId) { $url = "stages/season/{$seasonId}"; return $this->call($url); }
Fix it please. Thank you.
Hi there, feel free to raise this as a PR and get it in the next release.
Fixed in https://github.com/joesaunderson/sportmonks-soccer/pull/20
Released as https://github.com/joesaunderson/sportmonks-soccer/releases/tag/v0.3.2
sportmonks-soccer\src\Endpoint\Stage.php
Current version:
public function getBySeasonId(int $seasonId) { $url = "stages/{$seasonId}"; return $this->call($url); }
Need version: public function getBySeasonId(int $seasonId) { $url = "stages/season/{$seasonId}"; return $this->call($url); }
Fix it please. Thank you.