mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
fix: Added CreatesApplication strict typing (#1626)
This commit is contained in:
parent
e8e2c2db75
commit
9e864c937f
1 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,10 @@ trait CreatesApplication
|
|||
/** @var Application $app */
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
|
||||
$this->artisan = $app->make(Artisan::class);
|
||||
/** @var Kernel $artisan */
|
||||
$artisan = $app->make(Artisan::class);
|
||||
|
||||
$this->artisan = $artisan;
|
||||
$this->artisan->bootstrap();
|
||||
|
||||
// Unless the DB is stored in memory, we need to migrate the DB only once for the whole test suite.
|
||||
|
|
Loading…
Reference in a new issue