@@ -29,27 +29,27 @@ |
||
29 | 29 | |
30 | 30 | class PublicOwnerWrapper extends Wrapper { |
31 | 31 | |
32 | - /** @var string */ |
|
33 | - private $owner; |
|
34 | - |
|
35 | - /** |
|
36 | - * @param array $arguments ['storage' => $storage, 'owner' => $owner] |
|
37 | - * |
|
38 | - * $storage: The storage the permissions mask should be applied on |
|
39 | - * $owner: The owner to use in case no owner is found |
|
40 | - */ |
|
41 | - public function __construct($arguments) { |
|
42 | - parent::__construct($arguments); |
|
43 | - $this->owner = $arguments['owner']; |
|
44 | - } |
|
45 | - |
|
46 | - public function getOwner($path) { |
|
47 | - $owner = parent::getOwner($path); |
|
48 | - |
|
49 | - if ($owner === null || $owner === false) { |
|
50 | - return $this->owner; |
|
51 | - } |
|
52 | - |
|
53 | - return $owner; |
|
54 | - } |
|
32 | + /** @var string */ |
|
33 | + private $owner; |
|
34 | + |
|
35 | + /** |
|
36 | + * @param array $arguments ['storage' => $storage, 'owner' => $owner] |
|
37 | + * |
|
38 | + * $storage: The storage the permissions mask should be applied on |
|
39 | + * $owner: The owner to use in case no owner is found |
|
40 | + */ |
|
41 | + public function __construct($arguments) { |
|
42 | + parent::__construct($arguments); |
|
43 | + $this->owner = $arguments['owner']; |
|
44 | + } |
|
45 | + |
|
46 | + public function getOwner($path) { |
|
47 | + $owner = parent::getOwner($path); |
|
48 | + |
|
49 | + if ($owner === null || $owner === false) { |
|
50 | + return $this->owner; |
|
51 | + } |
|
52 | + |
|
53 | + return $owner; |
|
54 | + } |
|
55 | 55 | } |