laravel/routes/console.php
Nuno Maduro dd60315e9a
[11.x] Simplify PHP comments (#6316)
* Simplifies comments

* Apply fixes from StyleCI

* Removes non used line

* remove some comments

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Taylor Otwell <taylor@laravel.com>
2024-01-11 14:32:05 -06:00

9 lines
220 B
PHP

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