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 @@