Completed
Pull Request — master (#29651)
by Sujith
10:02
created
lib/private/Files/View.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 	 * and does not take the chroot into account )
196 196
 	 *
197 197
 	 * @param string $path
198
-	 * @return \OCP\Files\Mount\IMountPoint
198
+	 * @return Mount\MountPoint|null
199 199
 	 */
200 200
 	public function getMount($path) {
201 201
 		return Filesystem::getMountManager()->find($this->getAbsolutePath($path));
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
 
907 907
 	/**
908 908
 	 * @param string $path
909
-	 * @return bool|string
909
+	 * @return string|false
910 910
 	 * @throws \OCP\Files\InvalidPathException
911 911
 	 */
912 912
 	public function toTmpFile($path) {
@@ -2029,7 +2029,7 @@  discard block
 block discarded – undo
2029 2029
 
2030 2030
 	/**
2031 2031
 	 * @param string $filename
2032
-	 * @return array
2032
+	 * @return string[]
2033 2033
 	 * @throws \OC\User\NoUserException
2034 2034
 	 * @throws NotFoundException
2035 2035
 	 */
Please login to merge, or discard this patch.
apps/dav/lib/Connector/Sabre/File.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,6 +258,9 @@  discard block
 block discarded – undo
258 258
 		}, ['before' => []], 'sabrefile', 'create');
259 259
 	}
260 260
 
261
+	/**
262
+	 * @param string $path
263
+	 */
261 264
 	private function getPartFileBasePath($path) {
262 265
 		$partFileInStorage = \OC::$server->getConfig()->getSystemValue('part_file_in_storage', true);
263 266
 		if ($partFileInStorage) {
@@ -627,7 +630,7 @@  discard block
 block discarded – undo
627 630
 	/**
628 631
 	 * Set $algo to get a specific checksum, leave null to get all checksums
629 632
 	 * (space seperated)
630
-	 * @param null $algo
633
+	 * @param string $algo
631 634
 	 * @return string
632 635
 	 */
633 636
 	public function getChecksum($algo = null) {
@@ -650,6 +653,9 @@  discard block
 block discarded – undo
650 653
 		return '';
651 654
 	}
652 655
 
656
+	/**
657
+	 * @param string $string
658
+	 */
653 659
 	protected function header($string) {
654 660
 		\header($string);
655 661
 	}
Please login to merge, or discard this patch.