Skip to content

Commit

Permalink
switch to config() helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Jan 6, 2025
1 parent 75ffdc2 commit 762d060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function rebind(): void
/** @param array<mixed> $data */
public static function fromArray(array $data): self
{
$source = require realpath(__DIR__.'/../../config/backup.php');
$source = config('backup');

return new self(
backup: BackupConfig::fromArray(array_merge($source['backup'], $data['backup'] ?? [])),
Expand Down

0 comments on commit 762d060

Please sign in to comment.