Skip to content

Commit eec85ab

Browse files
committed
feat: add type hints for $this in routes/console.php
1 parent 9edc9aa commit eec85ab

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
@@ -1,8 +1,10 @@
11
<?php
22

3+
use Illuminate\Console\Command;
34
use Illuminate\Foundation\Inspiring;
45
use Illuminate\Support\Facades\Artisan;
56

7+
/** @var Command $this */
68
Artisan::command('inspire', function () {
79
$this->comment(Inspiring::quote());
810
})->purpose('Display an inspiring quote');

0 commit comments

Comments
 (0)