Skip to content

Commit

Permalink
phalcon#1471 - Fix Di instance order
Browse files Browse the repository at this point in the history
  • Loading branch information
pgalocha committed Oct 9, 2020
1 parent 098b496 commit 9206124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ public function __construct(array $parameters = [])
$this->initFromConstants();
$this->setParameters($parameters);

$this->app = new MvcApplication;
$this->di = new FactoryDefault;
$this->app = new MvcApplication;
$this->di->setShared('application', $this);

(new ErrorHandler)->register();
Expand Down

0 comments on commit 9206124

Please sign in to comment.