@@ -236,6 +236,9 @@ discard block |
||
| 236 | 236 | return '"' . $this->info->getEtag() . '"'; |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | + /** |
|
| 240 | + * @param string $path |
|
| 241 | + */ |
|
| 239 | 242 | private function getPartFileBasePath($path) { |
| 240 | 243 | $partFileInStorage = \OC::$server->getConfig()->getSystemValue('part_file_in_storage', true); |
| 241 | 244 | if ($partFileInStorage) { |
@@ -598,7 +601,7 @@ discard block |
||
| 598 | 601 | /** |
| 599 | 602 | * Set $algo to get a specific checksum, leave null to get all checksums |
| 600 | 603 | * (space seperated) |
| 601 | - * @param null $algo |
|
| 604 | + * @param string $algo |
|
| 602 | 605 | * @return string |
| 603 | 606 | */ |
| 604 | 607 | public function getChecksum($algo = null) { |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | 67 | * @param $source |
| 68 | - * @param $path |
|
| 68 | + * @param string $path |
|
| 69 | 69 | * @return resource |
| 70 | 70 | */ |
| 71 | 71 | public static function wrap($source, $path) { |
@@ -126,6 +126,9 @@ discard block |
||
| 126 | 126 | return parent::stream_write($data); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $data |
|
| 131 | + */ |
|
| 129 | 132 | private function updateHashingContexts($data) { |
| 130 | 133 | foreach ($this->hashingContexts as $ctx) { |
| 131 | 134 | hash_update($ctx, $data); |