diff --git a/src/ParamConverter/HashidsParamConverter.php b/src/ParamConverter/HashidsParamConverter.php index b5b3d12..f43cc33 100644 --- a/src/ParamConverter/HashidsParamConverter.php +++ b/src/ParamConverter/HashidsParamConverter.php @@ -45,7 +45,7 @@ private function setHashid(Request $request, ParamConverter $configuration): voi $this->getIdentifier( $request, array_replace(['hashid' => null], $configuration->getOptions()), - $configuration->getName() + (string) $configuration->getName() ) );