We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getAvailability
1 parent 2970232 commit 17104bfCopy full SHA for 17104bf
lib/private/Files/Cache/Storage.php
@@ -126,7 +126,7 @@ public static function getNumericStorageId($storageId) {
126
}
127
128
/**
129
- * @return array [ available, last_checked ]
+ * @return array{available: bool, last_checked: int}
130
*/
131
public function getAvailability() {
132
if ($row = self::getStorageById($this->storageId)) {
lib/private/Files/Storage/Common.php
@@ -711,7 +711,7 @@ private function getLockLogger(): ?LoggerInterface {
711
712
713
714
715
716
public function getAvailability(): array {
717
return $this->getStorageCache()->getAvailability();
0 commit comments