summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-07 11:54:23 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-08-09 10:01:55 +0200
commit9a36bb4f91cf7889541754408bbca584f1d7efd9 (patch)
tree399ccbfc2bdb49c308ddbd39712816aec9872a43
parent7a423e416f2a84ec4852ead59c835213ae3fb624 (diff)
downloadnextcloud-server-9a36bb4f91cf7889541754408bbca584f1d7efd9.tar.gz
nextcloud-server-9a36bb4f91cf7889541754408bbca584f1d7efd9.zip
Update lib/public/LanguageModel/Events/TaskFailedEvent.php
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)
-rw-r--r--lib/public/LanguageModel/Events/TaskFailedEvent.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/public/LanguageModel/Events/TaskFailedEvent.php b/lib/public/LanguageModel/Events/TaskFailedEvent.php
index efc7d9043c8..2737e625e0d 100644
--- a/lib/public/LanguageModel/Events/TaskFailedEvent.php
+++ b/lib/public/LanguageModel/Events/TaskFailedEvent.php
@@ -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);
}