From 575dc29c276fdd792e04375be5c2d4f249a4bec3 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 8 May 2018 14:42:48 +0200 Subject: Make Appdata static * Add fileid for simpleroot folders (only internal) Signed-off-by: Roeland Jago Douma --- lib/public/Files/SimpleFS/ISimpleRoot.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/public') 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; } -- cgit v1.2.3