Skip to content

Commit

Permalink
Fix naming getLastUpdated()
Browse files Browse the repository at this point in the history
To sync with original sportmonks naming.
  • Loading branch information
kashmiry authored and joesaunderson committed Mar 5, 2020
1 parent 79ad1a4 commit 4740950
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ $response = SoccerApi::fixtures()->getByMultipleIds([$fixtureId1, $fixtureId2...
##### Get Last Updated - [View Sportmonks Docs](https://sportmonks.com/docs/football/2.0/fixtures/a/get-last-updated/218)

```php
$response = SoccerApi::fixtures()->getLastUpdates();
$response = SoccerApi::fixtures()->getLastUpdated();
```

### Head2Head
Expand Down
2 changes: 1 addition & 1 deletion src/Endpoint/Fixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function getByDateRangeForTeam(string $dateFrom, string $dateTo, int $tea
* @return stdClass
* @throws ApiRequestException
*/
public function getLastUpdates()
public function getLastUpdated()
{
$url = "fixtures/updates";
return $this->call($url);
Expand Down

0 comments on commit 4740950

Please sign in to comment.