summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-07-17 11:11:16 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-08-09 10:05:13 +0200
commit322bb9763aae853f63986408ce1672ef582c0592 (patch)
treeddd2e28775066ad15bb681f203963c2cd76938b5
parent87ac99582ba399aaa2b205f2dd74f6e19aae785b (diff)
downloadnextcloud-server-322bb9763aae853f63986408ce1672ef582c0592.tar.gz
nextcloud-server-322bb9763aae853f63986408ce1672ef582c0592.zip
Apply suggestions from code review
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)
-rw-r--r--lib/private/TextProcessing/Manager.php2
-rw-r--r--lib/public/TextProcessing/Events/TaskSuccessfulEvent.php7
2 files changed, 1 insertions, 8 deletions
diff --git a/lib/private/TextProcessing/Manager.php b/lib/private/TextProcessing/Manager.php
index 34e4b2bb4cc..f52482bbb32 100644
--- a/lib/private/TextProcessing/Manager.php
+++ b/lib/private/TextProcessing/Manager.php
@@ -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;
diff --git a/lib/public/TextProcessing/Events/TaskSuccessfulEvent.php b/lib/public/TextProcessing/Events/TaskSuccessfulEvent.php
index 73fbbb87f45..2052c450451 100644
--- a/lib/public/TextProcessing/Events/TaskSuccessfulEvent.php
+++ b/lib/public/TextProcessing/Events/TaskSuccessfulEvent.php
@@ -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);
- }
}