@@ -80,7 +80,7 @@ |
||
80 | 80 | * the next element. |
81 | 81 | * |
82 | 82 | * @param Reader $reader |
83 | - * @return mixed |
|
83 | + * @return null|TagList |
|
84 | 84 | */ |
85 | 85 | static function xmlDeserialize(Reader $reader) { |
86 | 86 | $tags = []; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * @param ITagManager $fileTagger manager for private tags |
106 | 106 | * @param IUserSession $userSession |
107 | 107 | * @param IGroupManager $groupManager |
108 | - * @param Folder $userfolder |
|
108 | + * @param Folder $userFolder |
|
109 | 109 | */ |
110 | 110 | public function __construct(Tree $tree, |
111 | 111 | View $view, |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * This will be used in the {DAV:}supported-report-set property. |
152 | 152 | * |
153 | 153 | * @param string $uri |
154 | - * @return array |
|
154 | + * @return string[] |
|
155 | 155 | */ |
156 | 156 | public function getSupportedReportSet($uri) { |
157 | 157 | return [self::REPORT_NAME]; |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * @param string $reportName |
164 | 164 | * @param [] $report |
165 | 165 | * @param string $uri |
166 | - * @return bool |
|
166 | + * @return null|false |
|
167 | 167 | * @throws NotFound |
168 | 168 | * @throws ReportNotSupported |
169 | 169 | */ |
@@ -336,6 +336,7 @@ discard block |
||
336 | 336 | * with a leading slash but no trailing slash |
337 | 337 | * @param string[] $requestedProps requested properties |
338 | 338 | * @param Node[] nodes nodes for which to fetch and prepare responses |
339 | + * @param Node[] $nodes |
|
339 | 340 | * @return Response[] |
340 | 341 | */ |
341 | 342 | public function prepareResponses($filesUri, $requestedProps, $nodes) { |
@@ -27,7 +27,6 @@ |
||
27 | 27 | use OCA\Files_External\Lib\Auth\AuthMechanism; |
28 | 28 | use \OCP\IConfig; |
29 | 29 | use OCP\ILogger; |
30 | -use OCP\IUser; |
|
31 | 30 | use \OCP\IUserSession; |
32 | 31 | use \OCP\IRequest; |
33 | 32 | use \OCP\IL10N; |
@@ -1344,6 +1344,9 @@ discard block |
||
1344 | 1344 | } |
1345 | 1345 | } |
1346 | 1346 | |
1347 | + /** |
|
1348 | + * @param string $lang |
|
1349 | + */ |
|
1347 | 1350 | protected static function findBestL10NOption($options, $lang) { |
1348 | 1351 | $fallback = $similarLangFallback = $englishFallback = false; |
1349 | 1352 | |
@@ -1438,8 +1441,8 @@ discard block |
||
1438 | 1441 | } |
1439 | 1442 | |
1440 | 1443 | /** |
1441 | - * @param $config |
|
1442 | - * @param $l |
|
1444 | + * @param OCP\IConfig $config |
|
1445 | + * @param OCP\IL10N $l |
|
1443 | 1446 | * @param $info |
1444 | 1447 | * @throws Exception |
1445 | 1448 | */ |