@@ -257,6 +257,9 @@ discard block |
||
| 257 | 257 | 'file', 'create'); |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | + /** |
|
| 261 | + * @param string $path |
|
| 262 | + */ |
|
| 260 | 263 | private function getPartFileBasePath($path) { |
| 261 | 264 | $partFileInStorage = \OC::$server->getConfig()->getSystemValue('part_file_in_storage', true); |
| 262 | 265 | if ($partFileInStorage) { |
@@ -626,7 +629,7 @@ discard block |
||
| 626 | 629 | /** |
| 627 | 630 | * Set $algo to get a specific checksum, leave null to get all checksums |
| 628 | 631 | * (space seperated) |
| 629 | - * @param null $algo |
|
| 632 | + * @param string $algo |
|
| 630 | 633 | * @return string |
| 631 | 634 | */ |
| 632 | 635 | public function getChecksum($algo = null) { |
@@ -649,6 +652,9 @@ discard block |
||
| 649 | 652 | return ''; |
| 650 | 653 | } |
| 651 | 654 | |
| 655 | + /** |
|
| 656 | + * @param string $string |
|
| 657 | + */ |
|
| 652 | 658 | protected function header($string) { |
| 653 | 659 | \header($string); |
| 654 | 660 | } |