From 4740950246d483bcac88aa7263af0f2c6441ed5f Mon Sep 17 00:00:00 2001 From: kashmiry Date: Mon, 3 Feb 2020 12:35:57 +0300 Subject: [PATCH] Fix naming getLastUpdated() To sync with original sportmonks naming. --- README.md | 2 +- src/Endpoint/Fixture.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69c9379..59bd7c3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/Endpoint/Fixture.php b/src/Endpoint/Fixture.php index 1387e78..21b193f 100644 --- a/src/Endpoint/Fixture.php +++ b/src/Endpoint/Fixture.php @@ -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);