@@ -75,7 +75,7 @@ |
||
75 | 75 | private $cache = []; |
76 | 76 | |
77 | 77 | /** |
78 | - * @param Tree $tree node tree |
|
78 | + * @param ObjectTree $tree node tree |
|
79 | 79 | * @param IDBConnection $connection database connection |
80 | 80 | * @param IUser $user owner of the tree and properties |
81 | 81 | */ |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | private $userFolder; |
90 | 90 | |
91 | 91 | /** |
92 | - * @param Tree $tree |
|
92 | + * @param ObjectTree $tree |
|
93 | 93 | * @param View $view |
94 | 94 | */ |
95 | 95 | public function __construct(Tree $tree, |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * This will be used in the {DAV:}supported-report-set property. |
135 | 135 | * |
136 | 136 | * @param string $uri |
137 | - * @return array |
|
137 | + * @return string[] |
|
138 | 138 | */ |
139 | 139 | public function getSupportedReportSet($uri) { |
140 | 140 | return [self::REPORT_NAME]; |
@@ -265,6 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @param string[] $requestedProps requested properties |
267 | 267 | * @param Node[] nodes nodes for which to fetch and prepare responses |
268 | + * @param Node[] $nodes |
|
268 | 269 | * @return Response[] |
269 | 270 | */ |
270 | 271 | public function prepareResponses($requestedProps, $nodes) { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | private $tree; |
86 | 86 | |
87 | 87 | /** |
88 | - * @param \Sabre\DAV\Tree $tree tree |
|
88 | + * @param ObjectTree $tree tree |
|
89 | 89 | * @param \OCP\ITagManager $tagManager tag manager |
90 | 90 | */ |
91 | 91 | public function __construct(\Sabre\DAV\Tree $tree, \OCP\ITagManager $tagManager) { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * The deserialize method is called during xml parsing. |
61 | 61 | * |
62 | 62 | * @param Reader $reader |
63 | - * @return mixed |
|
63 | + * @return ShareTypeList |
|
64 | 64 | */ |
65 | 65 | static function xmlDeserialize(Reader $reader) { |
66 | 66 | $shareTypes = []; |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * the next element. |
80 | 80 | * |
81 | 81 | * @param Reader $reader |
82 | - * @return mixed |
|
82 | + * @return TagList |
|
83 | 83 | */ |
84 | 84 | static function xmlDeserialize(Reader $reader) { |
85 | 85 | $tags = []; |
@@ -85,7 +85,7 @@ |
||
85 | 85 | private $tree; |
86 | 86 | |
87 | 87 | /** |
88 | - * @param \Sabre\DAV\Tree $tree tree |
|
88 | + * @param ObjectTree $tree tree |
|
89 | 89 | * @param \OCP\ITagManager $tagManager tag manager |
90 | 90 | */ |
91 | 91 | public function __construct(\Sabre\DAV\Tree $tree, \OCP\ITagManager $tagManager) { |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * Returns an associative array with all translations |
177 | 177 | * |
178 | 178 | * Called by \OC_L10N_String |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function getTranslations() { |
182 | 182 | return $this->translations; |
@@ -369,7 +369,7 @@ |
||
369 | 369 | * @param string $path path to the file which should be updated |
370 | 370 | * @param string $uid of the user who performs the operation |
371 | 371 | * @param array $accessList who has access to the file contains the key 'users' and 'public' |
372 | - * @return boolean |
|
372 | + * @return null|boolean |
|
373 | 373 | */ |
374 | 374 | public function update($path, $uid, array $accessList) { |
375 | 375 |