Skip to content

Commit

Permalink
Fixed autowiring.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raistlfiren committed Jun 9, 2024
1 parent 2ff32b9 commit e37c099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Http/GarminClient/GarminAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ class GarminAuthenticator

public function __construct(
private HttpClientInterface $httpClient,
#[Autowire(env: '%env(GARMIN_USERNAME)%')]
#[Autowire(env: 'GARMIN_USERNAME')]
private string $garminUsername,
#[Autowire(env: '%env(GARMIN_PASSWORD)%')]
#[Autowire(env: 'GARMIN_PASSWORD')]
private string $garminPassword,
#[Autowire('%kernel.project_dir%')]
private readonly string $projectDirectory
Expand Down

0 comments on commit e37c099

Please sign in to comment.