@@ -363,7 +363,7 @@ |
||
363 | 363 | * get the display name of the user currently logged in. |
364 | 364 | * |
365 | 365 | * @param string $uid |
366 | - * @return string|bool uid or false |
|
366 | + * @return string|false uid or false |
|
367 | 367 | */ |
368 | 368 | public static function getDisplayName($uid = null) { |
369 | 369 | if ($uid) { |
@@ -261,7 +261,7 @@ |
||
261 | 261 | |
262 | 262 | /** |
263 | 263 | * Get the currently used Content-Security-Policy |
264 | - * @return EmptyContentSecurityPolicy|null Used Content-Security-Policy or null if |
|
264 | + * @return ContentSecurityPolicy|null Used Content-Security-Policy or null if |
|
265 | 265 | * none specified. |
266 | 266 | * @since 8.1.0 |
267 | 267 | */ |
@@ -106,7 +106,7 @@ |
||
106 | 106 | /** |
107 | 107 | * Return the relative date in relation to today. Returns something like "last hour" or "two month ago" |
108 | 108 | * @param int $timestamp unix timestamp |
109 | - * @param boolean $dateOnly |
|
109 | + * @param integer $dateOnly |
|
110 | 110 | * @return string human readable interpretation of the timestamp |
111 | 111 | * |
112 | 112 | * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead |
@@ -370,6 +370,7 @@ |
||
370 | 370 | |
371 | 371 | /** |
372 | 372 | * write back temporary files |
373 | + * @param string $path |
|
373 | 374 | */ |
374 | 375 | public function writeBack($tmpFile, $path) { |
375 | 376 | $this->addFile($path, $tmpFile); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | /** |
132 | 132 | * Make a computer file size |
133 | 133 | * @param string $str file size in human readable format |
134 | - * @return float|bool a file size in bytes |
|
134 | + * @return integer a file size in bytes |
|
135 | 135 | * |
136 | 136 | * Makes 2kB to 2048. |
137 | 137 | * |
@@ -529,7 +529,7 @@ discard block |
||
529 | 529 | * |
530 | 530 | * @param string $path |
531 | 531 | * @param \OCP\Files\FileInfo $rootInfo (optional) |
532 | - * @return array |
|
532 | + * @return string |
|
533 | 533 | * @throws \OCP\Files\NotFoundException |
534 | 534 | */ |
535 | 535 | public static function getStorageInfo($path, $rootInfo = null) { |