Skip to content

Commit

Permalink
Merge pull request #72 from BlackbitDevs/patch-2
Browse files Browse the repository at this point in the history
Fix Youwe\Pimcore\WorkflowGui\Repository\WorkflowRepository::loadConfig(): Return value must be of type array, null returned
  • Loading branch information
jorisros authored Mar 8, 2023
2 parents dd74727 + 1f03070 commit 36ee4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WorkflowGui/Repository/WorkflowRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function loadConfig(): array
{
return Yaml::parse(
file_get_contents($this->configFileResolver->getConfigPath())
);
) ?? [];
}

protected function storeConfig(array $config): void
Expand Down

0 comments on commit 36ee4bc

Please sign in to comment.