Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
einar-hansen committed Sep 27, 2022
1 parent ead5c19 commit b50476b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FootballDataService.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

final class FootballDataService extends Service implements ServiceContract, RateLimited
{
public RateLimiterState $rateLimiterState;

public function __construct(
public readonly ?string $apiToken = null,
public readonly string $baseUri = 'https://api.football-data.org',
Expand All @@ -35,7 +37,7 @@ public function __construct(
UriFactoryInterface $uriFactory = null,
StreamFactoryInterface $streamFactory = null,
CollectionFactory $collectionFactory = null,
public RateLimiterState $rateLimiterState = null
RateLimiterState $rateLimiterState = null
) {
parent::__construct(
client: $client,
Expand Down

0 comments on commit b50476b

Please sign in to comment.