aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage/CommonTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Storage/CommonTest.php')
-rw-r--r--lib/private/Files/Storage/CommonTest.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/private/Files/Storage/CommonTest.php b/lib/private/Files/Storage/CommonTest.php
index efdd3634578..1145fa2501d 100644
--- a/lib/private/Files/Storage/CommonTest.php
+++ b/lib/private/Files/Storage/CommonTest.php
@@ -18,43 +18,43 @@ class CommonTest extends \OC\Files\Storage\Common {
$this->storage = new \OC\Files\Storage\Local($params);
}
- public function getId() {
+ public function getId(): string {
return 'test::' . $this->storage->getId();
}
- public function mkdir($path) {
+ public function mkdir($path): bool {
return $this->storage->mkdir($path);
}
- public function rmdir($path) {
+ public function rmdir($path): bool {
return $this->storage->rmdir($path);
}
public function opendir($path) {
return $this->storage->opendir($path);
}
- public function stat($path) {
+ public function stat($path): array|false {
return $this->storage->stat($path);
}
- public function filetype($path) {
+ public function filetype($path): string|false {
return @$this->storage->filetype($path);
}
- public function isReadable($path) {
+ public function isReadable($path): bool {
return $this->storage->isReadable($path);
}
- public function isUpdatable($path) {
+ public function isUpdatable($path): bool {
return $this->storage->isUpdatable($path);
}
- public function file_exists($path) {
+ public function file_exists($path): bool {
return $this->storage->file_exists($path);
}
- public function unlink($path) {
+ public function unlink($path): bool {
return $this->storage->unlink($path);
}
public function fopen($path, $mode) {
return $this->storage->fopen($path, $mode);
}
- public function free_space($path) {
+ public function free_space($path): int|float|false {
return $this->storage->free_space($path);
}
- public function touch($path, $mtime = null) {
+ public function touch($path, $mtime = null): bool {
return $this->storage->touch($path, $mtime);
}
}