From 4c2448cfc89a4a11e9eb546538f93bb3727ecbf5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 25 Apr 2024 01:01:37 +0000 Subject: [PATCH] fix tests --- Controller/ApiController.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 6130043..608cfcd 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -1080,6 +1080,20 @@ final class ApiController extends Controller return $parentCollection; } + /** + * Add Media to a collection and arbitrary model + * + * @param int $account Request account + * @param int[] $files Files to add + * @param null|int $rel Relation to model id + * @param string $mapper Mapper to use for relation + * @param string $field Field to use for relation + * @param string $collectionPath Path of the collection the files should get added to + * + * @return void + * + * @since 1.0.0 + */ public function addMediaToCollectionAndModel( int $account, array $files,