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/encryption/lib/Command/FixEncryptedVersion.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/encryption/lib/Command/FixEncryptedVersion.php') diff --git a/apps/encryption/lib/Command/FixEncryptedVersion.php b/apps/encryption/lib/Command/FixEncryptedVersion.php index 6635bb6cba9..16181f22942 100644 --- a/apps/encryption/lib/Command/FixEncryptedVersion.php +++ b/apps/encryption/lib/Command/FixEncryptedVersion.php @@ -242,7 +242,7 @@ class FixEncryptedVersion extends Command { return true; } - if ($storage->instanceOfStorage('OCA\Files_Sharing\ISharedStorage')) { + if ($storage->instanceOfStorage(\OCA\Files_Sharing\ISharedStorage::class)) { $output->writeln("The file: \"$path\" is a share. Please also run the script for the owner of the share"); return true; } -- cgit v1.2.3