From 762d060d0ae4bbfdf2779948a2762b6139b024bb Mon Sep 17 00:00:00 2001 From: Niels Vanpachtenbeke <10651054+Nielsvanpach@users.noreply.github.com> Date: Mon, 6 Jan 2025 10:13:10 +0100 Subject: [PATCH] switch to config() helper --- src/Config/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config/Config.php b/src/Config/Config.php index 8a34ea45..f6e80e02 100644 --- a/src/Config/Config.php +++ b/src/Config/Config.php @@ -24,7 +24,7 @@ public static function rebind(): void /** @param array $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'] ?? [])),