From c85d26f75ca8a7f60106457fe83cce2e2e250405 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Thu, 23 May 2024 13:41:49 +0900 Subject: [PATCH] Remove phpstan ignore comments in ResourceClientModule Removed phpstan ignore comments in the configureDeprecatedBindings function of the ResourceClientModule class. The code now adheres to phpstan static analysis tool, improving code quality and reducing technical debt. --- src/Module/ResourceClientModule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Module/ResourceClientModule.php b/src/Module/ResourceClientModule.php index 3f366f58..83967e06 100644 --- a/src/Module/ResourceClientModule.php +++ b/src/Module/ResourceClientModule.php @@ -97,7 +97,7 @@ protected function configure(): void /** @psalm-suppress DeprecatedClass */ private function configureDeprecatedBindings(): void { - $this->bind(HalLink::class); // @phpstan-ignore - $this->bind(ReverseLinkInterface::class)->to(NullReverseLink::class); // @phpstan-ignore + $this->bind(HalLink::class); + $this->bind(ReverseLinkInterface::class)->to(NullReverseLink::class); } }