diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-05-08 13:51:32 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-06-02 14:07:55 +0200 |
commit | 8926bca0c7f27774959ec831c830c883bd284100 (patch) | |
tree | 93dc052a8425ff9950a87342f04a2a8231472502 /tests/lib | |
parent | 6f47a547d8a86d1425b00ae0d11a692e772ec4ac (diff) | |
download | nextcloud-server-8926bca0c7f27774959ec831c830c883bd284100.tar.gz nextcloud-server-8926bca0c7f27774959ec831c830c883bd284100.zip |
phpdoc, strict and type hints
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/files/filesystem.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib/files/filesystem.php b/tests/lib/files/filesystem.php index b5ee27fad5a..b7061bd19a0 100644 --- a/tests/lib/files/filesystem.php +++ b/tests/lib/files/filesystem.php @@ -39,6 +39,13 @@ class DummyMountProvider implements IMountProvider { $this->mounts = $mounts; } + /** + * Get the pre-registered mount points + * + * @param IUser $user + * @param IStorageFactory $loader + * @return \OCP\Files\Mount\IMountPoint[] + */ public function getMountsForUser(IUser $user, IStorageFactory $loader) { return isset($this->mounts[$user->getUID()]) ? $this->mounts[$user->getUID()] : []; } |