@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * and does not take the chroot into account ) |
| 196 | 196 | * |
| 197 | 197 | * @param string $path |
| 198 | - * @return \OCP\Files\Mount\IMountPoint |
|
| 198 | + * @return Mount\MountPoint|null |
|
| 199 | 199 | */ |
| 200 | 200 | public function getMount($path) { |
| 201 | 201 | return Filesystem::getMountManager()->find($this->getAbsolutePath($path)); |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | |
| 907 | 907 | /** |
| 908 | 908 | * @param string $path |
| 909 | - * @return bool|string |
|
| 909 | + * @return string|false |
|
| 910 | 910 | * @throws \OCP\Files\InvalidPathException |
| 911 | 911 | */ |
| 912 | 912 | public function toTmpFile($path) { |
@@ -2029,7 +2029,7 @@ discard block |
||
| 2029 | 2029 | |
| 2030 | 2030 | /** |
| 2031 | 2031 | * @param string $filename |
| 2032 | - * @return array |
|
| 2032 | + * @return string[] |
|
| 2033 | 2033 | * @throws \OC\User\NoUserException |
| 2034 | 2034 | * @throws NotFoundException |
| 2035 | 2035 | */ |
@@ -258,6 +258,9 @@ discard block |
||
| 258 | 258 | }, ['before' => []], 'sabrefile', 'create'); |
| 259 | 259 | } |
| 260 | 260 | |
| 261 | + /** |
|
| 262 | + * @param string $path |
|
| 263 | + */ |
|
| 261 | 264 | private function getPartFileBasePath($path) { |
| 262 | 265 | $partFileInStorage = \OC::$server->getConfig()->getSystemValue('part_file_in_storage', true); |
| 263 | 266 | if ($partFileInStorage) { |
@@ -627,7 +630,7 @@ discard block |
||
| 627 | 630 | /** |
| 628 | 631 | * Set $algo to get a specific checksum, leave null to get all checksums |
| 629 | 632 | * (space seperated) |
| 630 | - * @param null $algo |
|
| 633 | + * @param string $algo |
|
| 631 | 634 | * @return string |
| 632 | 635 | */ |
| 633 | 636 | public function getChecksum($algo = null) { |
@@ -650,6 +653,9 @@ discard block |
||
| 650 | 653 | return ''; |
| 651 | 654 | } |
| 652 | 655 | |
| 656 | + /** |
|
| 657 | + * @param string $string |
|
| 658 | + */ |
|
| 653 | 659 | protected function header($string) { |
| 654 | 660 | \header($string); |
| 655 | 661 | } |