Skip to content

Commit d68c34c

Browse files
committed
feat: add type hints for $this in routes/console.php
1 parent 540728e commit d68c34c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routes/console.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
use Illuminate\Foundation\Inspiring;
44
use Illuminate\Support\Facades\Artisan;
55

6+
/** @var Illuminate\Foundation\Console\Kernel $this */
67
Artisan::command('inspire', function () {
8+
/** @var Illuminate\Foundation\Console\ClosureCommand $this */
79
$this->comment(Inspiring::quote());
810
})->purpose('Display an inspiring quote');

0 commit comments

Comments
 (0)