Skip to content

Commit

Permalink
Enable extensions in proper order
Browse files Browse the repository at this point in the history
  • Loading branch information
askvortsov1 committed May 28, 2020
1 parent 4b79978 commit 8abff39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Extension/ExtensionManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ public function getEnabledExtensions()
*/
public function extend(Container $app)
{
foreach ($this->getEnabledExtensions() as $extension) {
$enabled = static::resolveExtensionOrder($this->getEnabledExtensions());

foreach ($enabled['valid'] as $extension) {
$extension->extend($app);
}
}
Expand Down

0 comments on commit 8abff39

Please sign in to comment.