Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit b4c7768

Browse files
committed
Update artisan
1 parent d20774f commit b4c7768

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

artisan

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env php
22
<?php
33

4+
use Illuminate\Foundation\Application;
45
use Symfony\Component\Console\Input\ArgvInput;
56

67
define('LARAVEL_START', microtime(true));
@@ -9,7 +10,9 @@ define('LARAVEL_START', microtime(true));
910
require __DIR__.'/vendor/autoload.php';
1011

1112
// Bootstrap Laravel and handle the command...
12-
$status = (require_once __DIR__.'/bootstrap/app.php')
13-
->handleCommand(new ArgvInput);
13+
/** @var Application $app */
14+
$app = require_once __DIR__.'/bootstrap/app.php';
1415

15-
exit($status);
16+
$status = $app->handleCommand(new ArgvInput);
17+
18+
exit($status);

0 commit comments

Comments
 (0)