From 774e9500e9f4a01081cb4bdfce7ba03ea0993607 Mon Sep 17 00:00:00 2001 From: Aryan Ahmed Date: Mon, 26 Feb 2024 13:30:12 +0100 Subject: [PATCH 1/2] Add void return type to ServiceProvider stub --- stubs/ServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/ServiceProvider.php b/stubs/ServiceProvider.php index bdcf67e..a57a0d8 100644 --- a/stubs/ServiceProvider.php +++ b/stubs/ServiceProvider.php @@ -6,11 +6,11 @@ class StubClassNamePrefixServiceProvider extends ServiceProvider { - public function register() + public function register() : void { } - public function boot() + public function boot() : void { } } From 39017aac5c31c5b3dcafd501a4dd46c7f24122b3 Mon Sep 17 00:00:00 2001 From: Chris Morrell Date: Wed, 3 Apr 2024 15:53:08 -0400 Subject: [PATCH 2/2] Code style --- stubs/ServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/ServiceProvider.php b/stubs/ServiceProvider.php index a57a0d8..cf77667 100644 --- a/stubs/ServiceProvider.php +++ b/stubs/ServiceProvider.php @@ -6,11 +6,11 @@ class StubClassNamePrefixServiceProvider extends ServiceProvider { - public function register() : void + public function register(): void { } - public function boot() : void + public function boot(): void { } }