From 1eb3a2e3ec29e7042fca008987b25059b8e3c036 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 26 Feb 2025 23:55:05 +0100 Subject: [PATCH 1/3] feat: add type hints for $this in routes/console.php --- routes/console.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/console.php b/routes/console.php index 3c9adf1af84..92d0f476679 100644 --- a/routes/console.php +++ b/routes/console.php @@ -3,6 +3,8 @@ use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Artisan; +/** @var Illuminate\Foundation\Console\Kernel $this */ Artisan::command('inspire', function () { + /** @var Illuminate\Foundation\Console\ClosureCommand $this */ $this->comment(Inspiring::quote()); })->purpose('Display an inspiring quote'); From 72396caa1e333faa93d04008b319dc99868a2386 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 4 Mar 2025 09:44:47 -0600 Subject: [PATCH 2/3] Update console.php --- routes/console.php | 1 - 1 file changed, 1 deletion(-) diff --git a/routes/console.php b/routes/console.php index 92d0f476679..5890288bae2 100644 --- a/routes/console.php +++ b/routes/console.php @@ -3,7 +3,6 @@ use Illuminate\Foundation\Inspiring; use Illuminate\Support\Facades\Artisan; -/** @var Illuminate\Foundation\Console\Kernel $this */ Artisan::command('inspire', function () { /** @var Illuminate\Foundation\Console\ClosureCommand $this */ $this->comment(Inspiring::quote()); From 56ab4c5e08b7580d635fe660eee28634f090f9ce Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 4 Mar 2025 09:45:18 -0600 Subject: [PATCH 3/3] Update console.php --- routes/console.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/console.php b/routes/console.php index 5890288bae2..19cef702b88 100644 --- a/routes/console.php +++ b/routes/console.php @@ -1,9 +1,10 @@ comment(Inspiring::quote()); })->purpose('Display an inspiring quote');