summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-08 14:42:48 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-14 13:25:54 +0200
commit575dc29c276fdd792e04375be5c2d4f249a4bec3 (patch)
tree266fa77780669becd6acbc3bfd029de4dcddf29d /lib/public
parent95592ff65c68a167cc8da6bfea022f3e3e2d25f7 (diff)
downloadnextcloud-server-575dc29c276fdd792e04375be5c2d4f249a4bec3.tar.gz
nextcloud-server-575dc29c276fdd792e04375be5c2d4f249a4bec3.zip
Make Appdata static
* Add fileid for simpleroot folders (only internal) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/SimpleFS/ISimpleRoot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleRoot.php b/lib/public/Files/SimpleFS/ISimpleRoot.php
index 9b4b8d76947..054106fbaca 100644
--- a/lib/public/Files/SimpleFS/ISimpleRoot.php
+++ b/lib/public/Files/SimpleFS/ISimpleRoot.php
@@ -42,7 +42,7 @@ interface ISimpleRoot {
* @throws \RuntimeException
* @since 11.0.0
*/
- public function getFolder($name);
+ public function getFolder(string $name): ISimpleFolder;
/**
* Get all the Folders
@@ -52,7 +52,7 @@ interface ISimpleRoot {
* @throws \RuntimeException
* @since 11.0.0
*/
- public function getDirectoryListing();
+ public function getDirectoryListing(): array;
/**
* Create a new folder named $name
@@ -63,5 +63,5 @@ interface ISimpleRoot {
* @throws \RuntimeException
* @since 11.0.0
*/
- public function newFolder($name);
+ public function newFolder(string $name): ISimpleFolder;
}