aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/LanguageModel/Events/TaskFailedEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/LanguageModel/Events/TaskFailedEvent.php')
-rw-r--r--lib/public/LanguageModel/Events/TaskFailedEvent.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/LanguageModel/Events/TaskFailedEvent.php b/lib/public/LanguageModel/Events/TaskFailedEvent.php
index 2b0dea9153f..5134c37476a 100644
--- a/lib/public/LanguageModel/Events/TaskFailedEvent.php
+++ b/lib/public/LanguageModel/Events/TaskFailedEvent.php
@@ -2,14 +2,14 @@
namespace OCP\LanguageModel\Events;
-use OCP\LanguageModel\AbstractLanguageModelTask;
+use OCP\LanguageModel\ILanguageModelTask;
/**
* @since 28.0.0
*/
class TaskFailedEvent extends AbstractLanguageModelEvent {
- public function __construct(AbstractLanguageModelTask $task,
+ public function __construct(ILanguageModelTask $task,
private string $errorMessage) {
parent::__construct($task);
}