From 30c3690ea95ade4d90539d42e2c4ac333ed0c7f4 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 3 Jan 2023 09:40:06 +0000 Subject: [PATCH] Adds types to stubs (#1206) --- stubs/HorizonServiceProvider.stub | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/stubs/HorizonServiceProvider.stub b/stubs/HorizonServiceProvider.stub index 08881175..76c42e5c 100644 --- a/stubs/HorizonServiceProvider.stub +++ b/stubs/HorizonServiceProvider.stub @@ -10,10 +10,8 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider { /** * Bootstrap any application services. - * - * @return void */ - public function boot() + public function boot(): void { parent::boot(); @@ -28,10 +26,8 @@ class HorizonServiceProvider extends HorizonApplicationServiceProvider * Register the Horizon gate. * * This gate determines who can access Horizon in non-local environments. - * - * @return void */ - protected function gate() + protected function gate(): void { Gate::define('viewHorizon', function ($user) { return in_array($user->email, [