]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update core/Controller/LanguageModelApiController.php
authorMarcel Klehr <mklehr@gmx.net>
Tue, 11 Jul 2023 13:28:22 +0000 (15:28 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:02:32 +0000 (10:02 +0200)
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit d430cbbfca86c9e21df9cc4013f7f9b9ee86fe59)

core/Controller/LanguageModelApiController.php

index f2a510bec802f03396face4a5b19852269b575de..86023bb3fa4c6431f5f0a09ce27de4744236976f 100644 (file)
@@ -71,7 +71,7 @@ class LanguageModelApiController extends \OCP\AppFramework\OCSController {
         * @param string $type The task type
         * @param string $appId The originating app ID
         * @param string $identifier An identifier to identify this task
-        * @return DataResponse<Http::STATUS_OK, array{task: array{id: int|null, type: string, status: int, userId: string|null, appId: string, input: string, output: string|null, identifier: string}}, array{}>| DataResponse<Http::STATUS_PRECONDITION_FAILED|Http::STATUS_BAD_REQUEST, array{message: string}, array{}>
+        * @return DataResponse<Http::STATUS_OK, array{task: array{id: ?int, type: string, status: int, userId: ?string, appId: string, input: string, output: ?string, identifier: string}}, array{}>|DataResponse<Http::STATUS_PRECONDITION_FAILED|Http::STATUS_BAD_REQUEST, array{message: string}, array{}>
         *
         * 200: Task scheduled
         * 400: Task type does not exist