diff options
-rw-r--r-- | lib/public/LanguageModel/Events/TaskFailedEvent.php | 6 |
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); } |