From 3a0b190c99fe48db0a042230a1b50d88b38ebe4c Mon Sep 17 00:00:00 2001 From: Mathias STRASSER Date: Mon, 22 Nov 2021 06:33:55 +0100 Subject: [PATCH] Rename decodeArgumentsController to decode --- src/ParamConverter/HashidsParamConverter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ParamConverter/HashidsParamConverter.php b/src/ParamConverter/HashidsParamConverter.php index 89fe8b4..4c80a49 100644 --- a/src/ParamConverter/HashidsParamConverter.php +++ b/src/ParamConverter/HashidsParamConverter.php @@ -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(); } @@ -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);