Skip to content

Commit 86287cf

Browse files
Fix psalm regressions. (#1680)
1 parent 01f32d3 commit 86287cf

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Common/Configuration/Resolver/EnvironmentResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function hasVariable(string $variableName): bool
2525
return !Configuration::isEmpty($env);
2626
}
2727

28+
#[\Override]
2829
public function retrieveValue(string $variableName): mixed
2930
{
3031
$value = getenv($variableName);

Common/Configuration/Resolver/PhpIniResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function retrieveValue(string $variableName): mixed
2727
return $value;
2828
}
2929

30+
#[\Override]
3031
public function hasVariable(string $variableName): bool
3132
{
3233
$value = $this->accessor->get($variableName);

Common/Configuration/Resolver/SdkConfigurationResolver.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ public function __construct()
3636
$this->reader = new EnvSourceReader($envSources);
3737
}
3838

39+
#[\Override]
3940
public function retrieveValue(string $variableName): mixed
4041
{
4142
return $this->reader->read($variableName);
4243
}
4344

45+
#[\Override]
4446
public function hasVariable(string $variableName): bool
4547
{
4648
return !Configuration::isEmpty($this->reader->read($variableName));

0 commit comments

Comments
 (0)