diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-07-13 12:23:05 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-07-17 13:55:55 +0200 |
commit | 969cc52851aa579b7b265624c1f3ad6f8b90d6ed (patch) | |
tree | fd156c51a0581500a44334810f5fee2388c6e270 | |
parent | ba33e6220cd8e07cc1723c13490e660b9789c858 (diff) | |
download | nextcloud-server-969cc52851aa579b7b265624c1f3ad6f8b90d6ed.tar.gz nextcloud-server-969cc52851aa579b7b265624c1f3ad6f8b90d6ed.zip |
fix(TaskProcessing): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
-rw-r--r-- | lib/private/TaskProcessing/Manager.php | 2 | ||||
-rw-r--r-- | tests/lib/TaskProcessing/TaskProcessingTest.php | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/TaskProcessing/Manager.php b/lib/private/TaskProcessing/Manager.php index 669b0d70a80..821fac01b99 100644 --- a/lib/private/TaskProcessing/Manager.php +++ b/lib/private/TaskProcessing/Manager.php @@ -696,7 +696,7 @@ class Manager implements IManager { $output[$key] = $value->getId(); } if (is_array($value) && $value[0] instanceof Node) { - $output[$key] = array_map(fn($node) => $node->getId(), $value); + $output[$key] = array_map(fn ($node) => $node->getId(), $value); } } $task->setOutput($output); diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php index 2db90019119..699a7d6b2c2 100644 --- a/tests/lib/TaskProcessing/TaskProcessingTest.php +++ b/tests/lib/TaskProcessing/TaskProcessingTest.php @@ -18,7 +18,6 @@ use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\AppData\IAppDataFactory; use OCP\Files\Config\ICachedMountInfo; use OCP\Files\Config\IUserMountCache; -use OCP\Files\IAppData; use OCP\Files\IRootFolder; use OCP\IConfig; use OCP\IDBConnection; |