aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Storage/PublicOwnerWrapper.php8
-rw-r--r--apps/dav/lib/Storage/PublicShareWrapper.php8
2 files changed, 8 insertions, 8 deletions
diff --git a/apps/dav/lib/Storage/PublicOwnerWrapper.php b/apps/dav/lib/Storage/PublicOwnerWrapper.php
index 635ae04fe64..a0f1607d971 100644
--- a/apps/dav/lib/Storage/PublicOwnerWrapper.php
+++ b/apps/dav/lib/Storage/PublicOwnerWrapper.php
@@ -15,14 +15,14 @@ class PublicOwnerWrapper extends Wrapper {
private string $owner;
/**
- * @param array $arguments ['storage' => $storage, 'owner' => $owner]
+ * @param array $parameters ['storage' => $storage, 'owner' => $owner]
*
* $storage: The storage the permissions mask should be applied on
* $owner: The owner to use in case no owner is found
*/
- public function __construct($arguments) {
- parent::__construct($arguments);
- $this->owner = $arguments['owner'];
+ public function __construct(array $parameters) {
+ parent::__construct($parameters);
+ $this->owner = $parameters['owner'];
}
public function getOwner(string $path): string|false {
diff --git a/apps/dav/lib/Storage/PublicShareWrapper.php b/apps/dav/lib/Storage/PublicShareWrapper.php
index 058dbe2bcea..fb0db4dca4c 100644
--- a/apps/dav/lib/Storage/PublicShareWrapper.php
+++ b/apps/dav/lib/Storage/PublicShareWrapper.php
@@ -17,14 +17,14 @@ class PublicShareWrapper extends Wrapper implements ISharedStorage {
private IShare $share;
/**
- * @param array $arguments ['storage' => $storage, 'share' => $share]
+ * @param array $parameters ['storage' => $storage, 'share' => $share]
*
* $storage: The storage the permissions mask should be applied on
* $share: The share to use in case no share is found
*/
- public function __construct($arguments) {
- parent::__construct($arguments);
- $this->share = $arguments['share'];
+ public function __construct(array $parameters) {
+ parent::__construct($parameters);
+ $this->share = $parameters['share'];
}
public function getShare(): IShare {