diff options
author | Robin Appelman <robin@icewind.nl> | 2018-12-16 18:19:22 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-12-16 18:19:35 +0300 |
commit | 96107b358027ff1d990c4e48ab491d53df235292 (patch) | |
tree | 6bf11ba8587d3008fc312906eb53764a347e3e3a | |
parent | eac607c0ca2a30e75b03ddc096a822bfcba8b606 (diff) |
make extra arguments to `getMount` optional
Fixes #254
Fixes #253
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | lib/Mount/MountProvider.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Mount/MountProvider.php b/lib/Mount/MountProvider.php index 8ba9b544..f99b330a 100644 --- a/lib/Mount/MountProvider.php +++ b/lib/Mount/MountProvider.php @@ -64,7 +64,7 @@ class MountProvider implements IMountProvider { }, $folders); } - public function getMount($id, $mountPoint, $permissions, $quota, $cacheEntry, IStorageFactory $loader): IMountPoint { + public function getMount($id, $mountPoint, $permissions, $quota, $cacheEntry = null, IStorageFactory $loader = null): IMountPoint { if (!$cacheEntry) { // trigger folder creation $this->getFolder($id); |