From 5bd7a9b808ac231120ab186dcdc7f2a181987ddd 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 3a14e08..705e7ef 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -86,6 +86,16 @@ final class ApiController extends Controller return []; } + /** + * Update the layout template + * + * @param LabelLayout $layout Label layout + * @param RequestAbstract $request Request + * + * @return LabelLayout + * + * @since 1.0.0 + */ private function uploadLayoutTemplate(LabelLayout $layout, RequestAbstract $request) : LabelLayout { $path = '/Modules/Labeling/Templates/' . $layout->id;