summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/AppData/Factory.php
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/private/Files/AppData/Factory.php
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/private/Files/AppData/Factory.php')
-rw-r--r--lib/private/Files/AppData/Factory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/AppData/Factory.php b/lib/private/Files/AppData/Factory.php
index 85c75733796..fba2232db06 100644
--- a/lib/private/Files/AppData/Factory.php
+++ b/lib/private/Files/AppData/Factory.php
@@ -1,4 +1,5 @@
<?php
+declare(strict_types=1);
/**
* @copyright 2016 Roeland Jago Douma <roeland@famdouma.nl>
*
@@ -44,7 +45,7 @@ class Factory {
* @param string $appId
* @return AppData
*/
- public function get($appId) {
+ public function get(string $appId): AppData {
return new AppData($this->rootFolder, $this->config, $appId);
}
}