/
githubmirror
/
laravel
Обзор
Документация
Войти
/
githubmirror
/
laravel
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
artisan
18 строк
425 B
Anders Jenbo
Improve static analysis by adding type hints for $app in artisan and public/index.php (#6531)
05 фев 2025, 14:01
Не верифицирован
05 фев 2025, 14:01
cf5aed8
Код
Авторство
О чём код?
#!/usr/bin/env php <?php use Illuminate\Foundation\Application; use Symfony\Component\Console\Input\ArgvInput; define('LARAVEL_START', microtime(true)); // Register the Composer autoloader... require __DIR__.'/vendor/autoload.php'; // Bootstrap Laravel and handle the command... /** @var Application $app */ $app = require_once __DIR__.'/bootstrap/app.php'; $status = $app->handleCommand(new ArgvInput); exit($status);