Skip to content

Commit

Permalink
Fixing an error when no bundle configuration exists (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
doishub committed Nov 24, 2022
1 parent b7d9b05 commit 94a862a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StyleManager/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ public static function getBundleConfigurationFiles(): ?array
/**
* Load configuration files from third-party bundles and return them as array
*/
protected function loadBundleConfiguration(): ?array
protected function loadBundleConfiguration(): array
{
if($arrFiles = $this->getBundleConfigurationFiles())
{
return ImportController::importFiles($arrFiles, false);
}

return null;
return [[],[]];
}

/**
Expand Down

0 comments on commit 94a862a

Please sign in to comment.