Skip to content

Commit

Permalink
Merge pull request #69 from oveleon/develop
Browse files Browse the repository at this point in the history
Fixing an error when no bundle configuration exists (#68)
  • Loading branch information
doishub authored Nov 24, 2022
2 parents b7d9b05 + 94a862a commit cc737da
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 cc737da

Please sign in to comment.