aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Command/RestoreAllFiles.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/lib/Command/RestoreAllFiles.php')
-rw-r--r--apps/files_trashbin/lib/Command/RestoreAllFiles.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Command/RestoreAllFiles.php b/apps/files_trashbin/lib/Command/RestoreAllFiles.php
index 969791379c1..f14fb5d6432 100644
--- a/apps/files_trashbin/lib/Command/RestoreAllFiles.php
+++ b/apps/files_trashbin/lib/Command/RestoreAllFiles.php
@@ -256,7 +256,7 @@ class RestoreAllFiles extends Base {
* That's why PSALM doesn't know the class GroupTrashItem.
* @psalm-suppress RedundantCondition
*/
- if ($scope === self::SCOPE_GROUPFOLDERS && $trashItemClass !== 'OCA\GroupFolders\Trash\GroupTrashItem') {
+ if ($scope === self::SCOPE_GROUPFOLDERS && $trashItemClass !== \OCA\GroupFolders\Trash\GroupTrashItem::class) {
$output->writeln('Skipping <info>' . $trashItem->getName() . '</info> because it is not a groupfolders trash item', OutputInterface::VERBOSITY_VERBOSE);
continue;
}