From 1f03070539d3c1e1937126eb6f7254d6d248d675 Mon Sep 17 00:00:00 2001 From: Blackbit Date: Tue, 28 Feb 2023 13:16:40 +0100 Subject: [PATCH] Update WorkflowRepository.php --- src/WorkflowGui/Repository/WorkflowRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WorkflowGui/Repository/WorkflowRepository.php b/src/WorkflowGui/Repository/WorkflowRepository.php index 3de0280..eb0a7b2 100644 --- a/src/WorkflowGui/Repository/WorkflowRepository.php +++ b/src/WorkflowGui/Repository/WorkflowRepository.php @@ -72,7 +72,7 @@ protected function loadConfig(): array { return Yaml::parse( file_get_contents($this->configFileResolver->getConfigPath()) - ); + ) ?? []; } protected function storeConfig(array $config): void