Skip to content

Commit

Permalink
resolve phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 22, 2024
1 parent 999ca63 commit 4d867be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Driver/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ protected function buildConfigFromSettings(): array
);
}

protected function getSetting(string $key, ?string $default = null): mixed
protected function getSetting(string $key, mixed $default = null): mixed
{
$prefix = $this->getSettingsPrefix();
$value = $this->settings->get("$prefix.$key");
Expand Down
1 change: 1 addition & 0 deletions src/Driver/S3Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function build(
array $localConfig
): Cloud {
if (empty($this->config->config())) {
// @phpstan-ignore-next-line
return $this->manager->createLocalDriver($localConfig);
}

Expand Down

0 comments on commit 4d867be

Please sign in to comment.