From 721a50e15bf7454d7d5c4bb5935feec7bf4ec020 Mon Sep 17 00:00:00 2001 From: mattamon Date: Fri, 12 Apr 2024 12:49:59 +0200 Subject: [PATCH] Minor fixes --- src/Controller/Api/Assets/CollectionController.php | 3 +++ src/Filter/FilterInterface.php | 1 + src/Service/GenericData/V1/QueryInterface.php | 3 ++- tests/Unit/Service/Factory/QueryFactoryTest.php | 1 + 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Controller/Api/Assets/CollectionController.php b/src/Controller/Api/Assets/CollectionController.php index fd86ddcfd..0b072d22e 100644 --- a/src/Controller/Api/Assets/CollectionController.php +++ b/src/Controller/Api/Assets/CollectionController.php @@ -55,6 +55,9 @@ public function __construct( parent::__construct($serializer); } + /** + * @throws InvalidQueryTypeException + */ #[Route('/assets', name: 'pimcore_studio_api_assets', methods: ['GET'])] //#[IsGranted('STUDIO_API')] #[GET( diff --git a/src/Filter/FilterInterface.php b/src/Filter/FilterInterface.php index c600d05a6..7a8124966 100644 --- a/src/Filter/FilterInterface.php +++ b/src/Filter/FilterInterface.php @@ -1,4 +1,5 @@