]> source.dussan.org Git - nextcloud-server.git/commitdiff
Apply suggestions from code review
authorMarcel Klehr <mklehr@gmx.net>
Thu, 6 Jul 2023 07:47:26 +0000 (09:47 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:01:29 +0000 (10:01 +0200)
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit 5b772468ad12f6f7e0d1077c05011912275cc4e7)

lib/public/LanguageModel/ILanguageModelTask.php

index 09d750766226153112715d4747f765e06ea37ce9..356cb53914ed82549b61d35b095e1a7a19a5cde0 100644 (file)
@@ -85,13 +85,13 @@ interface ILanguageModelTask extends \JsonSerializable {
        public function getType(): string;
 
        /**
-        * @return int
+        * @return ILanguageModelTask::STATUS_*
         * @since 28.0.0
         */
        public function getStatus(): int;
 
        /**
-        * @param int $status
+        * @param ILanguageModelTask::STATUS_* $status
         * @since 28.0.0
         */
        public function setStatus(int $status): void;