Skip to content

Commit 9206124

Browse files
committed
#1471 - Fix Di instance order
1 parent 098b496 commit 9206124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ public function __construct(array $parameters = [])
178178
$this->initFromConstants();
179179
$this->setParameters($parameters);
180180

181-
$this->app = new MvcApplication;
182181
$this->di = new FactoryDefault;
182+
$this->app = new MvcApplication;
183183
$this->di->setShared('application', $this);
184184

185185
(new ErrorHandler)->register();

0 commit comments

Comments
 (0)