Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1390672

Browse filesBrowse files
AJenbotaylorotwell
andauthored
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>
1 parent 540728e commit 1390672
Copy full SHA for 1390672

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎routes/console.php

Copy file name to clipboard
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<?php
22

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

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.