Skip to content

Commit

Permalink
Update lib/public/LanguageModel/Events/TaskFailedEvent.php
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr and come-nc authored Jul 7, 2023
1 parent 595fe62 commit d9b3ab2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/public/LanguageModel/Events/TaskFailedEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit d9b3ab2

Please sign in to comment.