Skip to content

Commit

Permalink
Do not rely on extensions_enabled being present
Browse files Browse the repository at this point in the history
This mostly simplifies setup in complex integration tests.
  • Loading branch information
franzliedke committed Jun 8, 2019
1 parent ee3640e commit 8e4d972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extension/ExtensionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public function extend(Container $app)
*/
public function getEnabled()
{
return json_decode($this->config->get('extensions_enabled'), true);
return json_decode($this->config->get('extensions_enabled'), true) ?? [];
}

/**
Expand Down

0 comments on commit 8e4d972

Please sign in to comment.