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

@ -102,7 +102,7 @@ class FeedController extends AbstractController
];
if (!isset($sorts[$sort])) {
throw new BadRequestHttpException(sprintf('Sort "%s" is not available.', $sort));
throw new BadRequestHttpException(\sprintf('Sort "%s" is not available.', $sort));
}
$url = $this->generateUrl(
@ -200,7 +200,7 @@ class FeedController extends AbstractController
$qb = $this->entryRepository->getBuilderForAllByUser($user->getId());
break;
default:
throw new \InvalidArgumentException(sprintf('Type "%s" is not implemented.', $type));
throw new \InvalidArgumentException(\sprintf('Type "%s" is not implemented.', $type));
}
$pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false);