Files
ponzi/routes/console.php
Anders Jenbo 1390672302 feat: add type hints for $this in routes/console.php (#6559)
* feat: add type hints for $this in routes/console.php

* Update console.php

* Update console.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2025-03-04 09:48:56 -06:00

11 lines
297 B
PHP

<?php
use Illuminate\Foundation\Console\ClosureCommand;
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
/** @var ClosureCommand $this */
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');