aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Node/Root.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-03-03 17:15:02 +0100
committerRobin Appelman <robin@icewind.nl>2022-03-04 16:30:16 +0100
commit917c74e214094e321ff96e1aa067ae60d22e2c58 (patch)
tree1b0c418966bec4c28785d1191a676310923c1180 /lib/private/Files/Node/Root.php
parent07a7dcb8249c9e25ea7a702e8c932520e2b32de6 (diff)
downloadnextcloud-server-917c74e214094e321ff96e1aa067ae60d22e2c58.tar.gz
nextcloud-server-917c74e214094e321ff96e1aa067ae60d22e2c58.zip
type fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Node/Root.php')
-rw-r--r--lib/private/Files/Node/Root.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/Files/Node/Root.php b/lib/private/Files/Node/Root.php
index 4e4dc0ec0de..88ac4a31d34 100644
--- a/lib/private/Files/Node/Root.php
+++ b/lib/private/Files/Node/Root.php
@@ -271,21 +271,21 @@ class Root extends Folder implements IRootFolder {
* @return int
*/
public function getId() {
- return null;
+ return 0;
}
/**
* @return array
*/
public function stat() {
- return null;
+ return [];
}
/**
* @return int
*/
public function getMTime() {
- return null;
+ return 0;
}
/**
@@ -293,14 +293,14 @@ class Root extends Folder implements IRootFolder {
* @return int
*/
public function getSize($includeMounts = true) {
- return null;
+ return 0;
}
/**
* @return string
*/
public function getEtag() {
- return null;
+ return '';
}
/**