Update Cli Factory loading

This commit is contained in:
Maarten 2020-01-07 22:24:59 +01:00
parent 04aee8c5a3
commit 013c799102
4 changed files with 6 additions and 6 deletions

View file

@ -22,7 +22,7 @@ class BootstrapFactory {
require_once('../routes/web.php');
// start engines
app(ViewEngine::class);
app()->make(ViewEngine::class);
try {
Route::start();
@ -37,7 +37,7 @@ class BootstrapFactory {
*/
public function kernel()
{
app(CliFactory::class)->handle();
app()->make(CliFactory::class)->handle();
}
/**