Skip to content

Commit 87ccc22

Browse files
committed
Update artisan file.
1 parent c1e49c1 commit 87ccc22

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

artisan

+6-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ $app = require_once __DIR__.'/bootstrap/app.php';
2828
|
2929
*/
3030

31-
$status = $app->make('Illuminate\Contracts\Console\Kernel')->handle(
32-
new Symfony\Component\Console\Input\ArgvInput,
31+
$kernel = $app->make('Illuminate\Contracts\Console\Kernel');
32+
33+
$status = $kernel->handle(
34+
$input = new Symfony\Component\Console\Input\ArgvInput,
3335
new Symfony\Component\Console\Output\ConsoleOutput
3436
);
3537

@@ -44,4 +46,6 @@ $status = $app->make('Illuminate\Contracts\Console\Kernel')->handle(
4446
|
4547
*/
4648

49+
$kernel->terminate($input, $status);
50+
4751
exit($status);

0 commit comments

Comments
 (0)