Completed
Pull Request — master (#32044)
by Thomas
11:21
created
lib/private/Files/Meta/MetaFileVersionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
lib/private/Files/Storage/StorageFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/private/Files/Storage/Wrapper/Checksum.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	private $checksums;
47 47
 
48 48
 	/**
49
-	 * @param $path
49
+	 * @param string $path
50 50
 	 * @return string Format like "SHA1:abc MD5:def ADLER32:ghi"
51 51
 	 */
52 52
 	private function getChecksumsInDbFormat($path) {
Please login to merge, or discard this patch.
lib/private/Files/Storage/Wrapper/Encryption.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
 	 *
361 361
 	 * @param string $path
362 362
 	 * @param string $mode
363
-	 * @return resource|bool
363
+	 * @return resource
364 364
 	 * @throws GenericEncryptionException
365 365
 	 * @throws ModuleDoesNotExistsException
366 366
 	 */
@@ -644,7 +644,7 @@  discard block
 block discarded – undo
644 644
 	 * Set the flag to true, so that the file would be
645 645
 	 * in the decrypted state.
646 646
 	 *
647
-	 * @param $isDisabled bool
647
+	 * @param boolean $isDisabled bool
648 648
 	 */
649 649
 	public static function setDisableWriteEncryption($isDisabled) {
650 650
 		self::$disableWriteEncryption = $isDisabled;
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
 	/**
674 674
 	 * Update the encrypted cache version in the database
675 675
 	 *
676
-	 * @param Storage $sourceStorage
676
+	 * @param Storage\IStorage $sourceStorage
677 677
 	 * @param string $sourceInternalPath
678 678
 	 * @param string $targetInternalPath
679 679
 	 * @param bool $isRename
@@ -718,7 +718,7 @@  discard block
 block discarded – undo
718 718
 	/**
719 719
 	 * copy file between two storages
720 720
 	 *
721
-	 * @param Storage $sourceStorage
721
+	 * @param Storage\IStorage $sourceStorage
722 722
 	 * @param string $sourceInternalPath
723 723
 	 * @param string $targetInternalPath
724 724
 	 * @param bool $preserveMtime
@@ -902,7 +902,7 @@  discard block
 block discarded – undo
902 902
 	/**
903 903
 	 * return header size of given file
904 904
 	 *
905
-	 * @param string|resource $path
905
+	 * @param string $path
906 906
 	 * @return int
907 907
 	 */
908 908
 	protected function getHeaderSize($path) {
@@ -953,7 +953,7 @@  discard block
 block discarded – undo
953 953
 	/**
954 954
 	 * read header from file
955 955
 	 *
956
-	 * @param string|resource $path
956
+	 * @param string $path
957 957
 	 * @return array
958 958
 	 */
959 959
 	protected function getHeader($path) {
@@ -1049,7 +1049,7 @@  discard block
 block discarded – undo
1049 1049
 	/**
1050 1050
 	 * check if path points to a files version
1051 1051
 	 *
1052
-	 * @param $path
1052
+	 * @param string $path
1053 1053
 	 * @return bool
1054 1054
 	 */
1055 1055
 	protected function isVersion($path) {
Please login to merge, or discard this patch.