From b9115da4f27ff2cc013da4ec88754c1175dd5216 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Thu, 26 Sep 2024 09:22:26 +0200 Subject: refactor(apps): Use PHP 5.5 features Signed-off-by: provokateurin --- apps/files_trashbin/lib/Command/RestoreAllFiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_trashbin/lib/Command/RestoreAllFiles.php') 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 ' . $trashItem->getName() . ' because it is not a groupfolders trash item', OutputInterface::VERBOSITY_VERBOSE); continue; } -- cgit v1.2.3