Skip to content

Commit

Permalink
Rename decodeArgumentsController to decode
Browse files Browse the repository at this point in the history
  • Loading branch information
roukmoute committed Dec 5, 2021
1 parent 4a3c0d2 commit 3a0b190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ParamConverter/HashidsParamConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct(HashidsInterface $hashids, bool $passthrough, bool $

public function apply(Request $request, ParamConverter $configuration): bool
{
$this->decodeArgumentsController($request, $configuration);
$this->decode($request, $configuration);

return $this->continueWithNextParamConverters();
}
Expand All @@ -37,7 +37,7 @@ public function supports(ParamConverter $configuration): bool
return true;
}

private function decodeArgumentsController(Request $request, ParamConverter $configuration): void
private function decode(Request $request, ParamConverter $configuration): void
{
$hash = $this->getHash($request, $configuration);

Expand Down

0 comments on commit 3a0b190

Please sign in to comment.