]> source.dussan.org Git - nextcloud-server.git/commitdiff
Apply suggestions from code review
authorMarcel Klehr <mklehr@gmx.net>
Mon, 17 Jul 2023 09:11:16 +0000 (11:11 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Wed, 9 Aug 2023 08:05:13 +0000 (10:05 +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 590eefea70472db84439353ddefbba6df1a88280)

lib/private/TextProcessing/Manager.php
lib/public/TextProcessing/Events/TaskSuccessfulEvent.php

index 34e4b2bb4cc2c6b760f3410c93d71d773f533cad..f52482bbb321985c4262ad1029feb0b06091d7fd 100644 (file)
@@ -27,7 +27,7 @@ namespace OC\TextProcessing;
 
 use OC\AppFramework\Bootstrap\Coordinator;
 use OC\TextProcessing\Db\Task as DbTask;
-use \OCP\TextProcessing\Task as OCPTask;
+use OCP\TextProcessing\Task as OCPTask;
 use OC\TextProcessing\Db\TaskMapper;
 use OCP\AppFramework\Db\DoesNotExistException;
 use OCP\AppFramework\Db\MultipleObjectsReturnedException;
index 73fbbb87f454fa9e25e82ac0f5b1eea0e720a1c5..2052c45045108ce487596374dd42932822c9d8ad 100644 (file)
@@ -8,11 +8,4 @@ use OCP\TextProcessing\Task;
  * @since 27.1.0
  */
 class TaskSuccessfulEvent extends AbstractTextProcessingEvent {
-       /**
-        * @param Task $task
-        * @since 27.1.0
-        */
-       public function __construct(Task $task) {
-               parent::__construct($task);
-       }
 }