Skip to content

Commit 7f62873

Browse files
committed
Fix Application that were not being used
1 parent c2b887b commit 7f62873

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Installers/LaravelInstaller.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ protected function configureFiles()
141141
$_ENV[\'APP_BASE_PATH\'] ?? dirname(__DIR__)
142142
);' => 'use App\Application;
143143
144-
$app = new Illuminate\Foundation\Application(
144+
$app = new Application(
145145
$_ENV[\'APP_BASE_PATH\'] ?? dirname(__DIR__)
146146
);
147+
147148
$app->useAppPath($app->basePath(\'src/App\'));',
148149
'App\Http\Kernel::class' => 'App\HttpKernel::class',
149150
'App\Console\Kernel::class' => 'App\ConsoleKernel::class',
@@ -204,4 +205,4 @@ protected function configurePhpUnitXmlFile()
204205
], base_path('phpunit.xml'));
205206

206207
}
207-
}
208+
}

0 commit comments

Comments
 (0)