From 3d6d945e9976f22a99d8006f8a955834f3a05d16 Mon Sep 17 00:00:00 2001 From: Alexandr Chernyaev Date: Sun, 8 Sep 2024 23:21:48 +0300 Subject: [PATCH] Added types --- src/CrudServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CrudServiceProvider.php b/src/CrudServiceProvider.php index fc0d29e..4fd49bc 100644 --- a/src/CrudServiceProvider.php +++ b/src/CrudServiceProvider.php @@ -33,7 +33,7 @@ class CrudServiceProvider extends ServiceProvider * * @return void */ - public function boot(ResourceFinder $finder, Arbitrator $arbitrator) + public function boot(ResourceFinder $finder, Arbitrator $arbitrator): void { $resources = $finder ->setNamespace(app()->getNamespace() . 'Orchid\\Resources') @@ -55,7 +55,7 @@ public function boot(ResourceFinder $finder, Arbitrator $arbitrator) * * @return void */ - public function register() + public function register(): void { $this->path = dirname(__DIR__, 1);