]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update lib/public/LanguageModel/Events/TaskFailedEvent.php
authorMarcel Klehr <mklehr@gmx.net>
Fri, 7 Jul 2023 09:54:23 +0000 (11:54 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:01:55 +0000 (10:01 +0200)
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
(cherry picked from commit bad124c07bb3ef541c31cfa94131df730c1ac30f)

lib/public/LanguageModel/Events/TaskFailedEvent.php

index efc7d9043c8e3bc8b2f02bf170d76cd4e7b26940..2737e625e0dcdc1cb54a161ef451058d5b6cae30 100644 (file)
@@ -13,8 +13,10 @@ class TaskFailedEvent extends AbstractLanguageModelEvent {
         * @param string $errorMessage
         * @since 28.0.0
         */
-       public function __construct(ILanguageModelTask $task,
-               private string $errorMessage) {
+       public function __construct(
+               ILanguageModelTask $task,
+               private string $errorMessage,
+       ) {
                parent::__construct($task);
        }