Skip to content

Commit

Permalink
Remove phpstan ignore comments in ResourceClientModule
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
koriym committed May 23, 2024
1 parent 3945f82 commit d709630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Module/ResourceClientModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit d709630

Please sign in to comment.