This commit is contained in:
Jeremy Benoist
2024-08-14 16:39:36 +02:00
parent bf329d34d8
commit c6a69e595c
23 changed files with 57 additions and 57 deletions

View File

@ -88,7 +88,7 @@ class UsernameFeedTokenConverter implements ParamConverterInterface
$user = $userRepository->findOneByUsernameAndFeedtoken($username, $feedToken);
if (null === $user || !($user instanceof User)) {
throw new NotFoundHttpException(sprintf('%s not found.', $configuration->getClass()));
throw new NotFoundHttpException(\sprintf('%s not found.', $configuration->getClass()));
}
// Map found user to the route's parameter