@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * @param MetaVersionCollection $parent |
| 61 | 61 | * @param IRootFolder $root |
| 62 | 62 | * @param array $version |
| 63 | - * @param Storage $storage |
|
| 63 | + * @param Storage\IStorage $storage |
|
| 64 | 64 | * @param string $internalPath |
| 65 | 65 | */ |
| 66 | 66 | public function __construct(MetaVersionCollection $parent, |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * @param \OCP\Files\Mount\IMountPoint $mountPoint |
| 78 | 78 | * @param string $class |
| 79 | 79 | * @param array $arguments |
| 80 | - * @return \OCP\Files\Storage |
|
| 80 | + * @return IStorage |
|
| 81 | 81 | */ |
| 82 | 82 | public function getInstance(IMountPoint $mountPoint, $class, $arguments) { |
| 83 | 83 | return $this->wrap($mountPoint, new $class($arguments)); |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * @param \OCP\Files\Mount\IMountPoint $mountPoint |
| 88 | 88 | * @param \OCP\Files\Storage\IStorage $storage |
| 89 | - * @return \OCP\Files\Storage |
|
| 89 | + * @return IStorage |
|
| 90 | 90 | */ |
| 91 | 91 | public function wrap(IMountPoint $mountPoint, $storage) { |
| 92 | 92 | $wrappers = \array_values($this->storageWrappers); |
@@ -643,7 +643,7 @@ discard block |
||
| 643 | 643 | * Set the flag to true, so that the file would be |
| 644 | 644 | * in the decrypted state. |
| 645 | 645 | * |
| 646 | - * @param $isDisabled bool |
|
| 646 | + * @param boolean $isDisabled bool |
|
| 647 | 647 | */ |
| 648 | 648 | public static function setDisableWriteEncryption($isDisabled) { |
| 649 | 649 | self::$disableWriteEncryption = $isDisabled; |
@@ -672,7 +672,7 @@ discard block |
||
| 672 | 672 | /** |
| 673 | 673 | * Update the encrypted cache version in the database |
| 674 | 674 | * |
| 675 | - * @param Storage $sourceStorage |
|
| 675 | + * @param Storage\IStorage $sourceStorage |
|
| 676 | 676 | * @param string $sourceInternalPath |
| 677 | 677 | * @param string $targetInternalPath |
| 678 | 678 | * @param bool $isRename |
@@ -717,7 +717,7 @@ discard block |
||
| 717 | 717 | /** |
| 718 | 718 | * copy file between two storages |
| 719 | 719 | * |
| 720 | - * @param Storage $sourceStorage |
|
| 720 | + * @param Storage\IStorage $sourceStorage |
|
| 721 | 721 | * @param string $sourceInternalPath |
| 722 | 722 | * @param string $targetInternalPath |
| 723 | 723 | * @param bool $preserveMtime |
@@ -901,7 +901,7 @@ discard block |
||
| 901 | 901 | /** |
| 902 | 902 | * return header size of given file |
| 903 | 903 | * |
| 904 | - * @param string|resource $path |
|
| 904 | + * @param string $path |
|
| 905 | 905 | * @return int |
| 906 | 906 | */ |
| 907 | 907 | protected function getHeaderSize($path) { |
@@ -952,7 +952,7 @@ discard block |
||
| 952 | 952 | /** |
| 953 | 953 | * read header from file |
| 954 | 954 | * |
| 955 | - * @param string|resource $path |
|
| 955 | + * @param string $path |
|
| 956 | 956 | * @return array |
| 957 | 957 | */ |
| 958 | 958 | protected function getHeader($path) { |
@@ -1048,7 +1048,7 @@ discard block |
||
| 1048 | 1048 | /** |
| 1049 | 1049 | * check if path points to a files version |
| 1050 | 1050 | * |
| 1051 | - * @param $path |
|
| 1051 | + * @param string $path |
|
| 1052 | 1052 | * @return bool |
| 1053 | 1053 | */ |
| 1054 | 1054 | protected function isVersion($path) { |