diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php index c9e72983231..bb1adec3cc1 100644 --- a/lib/public/Files/Storage.php +++ b/lib/public/Files/Storage.php @@ -374,9 +374,12 @@ interface Storage extends IStorage { /** * Check if the storage is an instance of $class or is a wrapper for a storage that is an instance of $class * + * @template T of IStorage * @param string $class + * @psalm-param class-string $class * @return bool * @since 7.0.0 + * @psalm-assert-if-true T $this */ public function instanceOfStorage($class);