aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/public/Files/Storage.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Files/Storage.php b/lib/public/Files/Storage.php
index afc735c7829..0a1a504b137 100644
--- a/lib/public/Files/Storage.php
+++ b/lib/public/Files/Storage.php
@@ -368,9 +368,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<T> $class
* @return bool
* @since 7.0.0
+ * @psalm-assert-if-true T $this
*/
public function instanceOfStorage($class);