@@ -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, |
@@ -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; |
@@ -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) { |
@@ -60,7 +60,6 @@ |
||
| 60 | 60 | use OCP\Files\NoReadAccessException; |
| 61 | 61 | use OCP\Files\Storage\IStorage; |
| 62 | 62 | use OCP\IConfig; |
| 63 | -use OCP\IGroupManager; |
|
| 64 | 63 | use OCP\IUser; |
| 65 | 64 | |
| 66 | 65 | class OC_Util { |