Skip to content

Commit 36ee4bc

Browse files
authored
Merge pull request #72 from BlackbitDevs/patch-2
Fix Youwe\Pimcore\WorkflowGui\Repository\WorkflowRepository::loadConfig(): Return value must be of type array, null returned
2 parents dd74727 + 1f03070 commit 36ee4bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WorkflowGui/Repository/WorkflowRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function loadConfig(): array
7272
{
7373
return Yaml::parse(
7474
file_get_contents($this->configFileResolver->getConfigPath())
75-
);
75+
) ?? [];
7676
}
7777

7878
protected function storeConfig(array $config): void

0 commit comments

Comments
 (0)