Completed
Push — stable8.2 ( af5d08...2aed50 )
by Morris
12:01
created
lib/private/diagnostics/querylogger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 	}
54 54
 
55 55
 	/**
56
-	 * @return \OCP\Diagnostics\IQuery[]
56
+	 * @return Query[]
57 57
 	 */
58 58
 	public function getQueries() {
59 59
 		return $this->queries;
Please login to merge, or discard this patch.
lib/private/eventsource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 	 * send a message to the client
89 89
 	 *
90 90
 	 * @param string $type
91
-	 * @param mixed $data
91
+	 * @param string $data
92 92
 	 *
93 93
 	 * @throws \BadMethodCallException
94 94
 	 * if only one parameter is given, a typeless message will be send with that parameter as data
Please login to merge, or discard this patch.
lib/private/files.php 1 patch
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -159,6 +159,8 @@  discard block
 block discarded – undo
159 159
 	/**
160 160
 	 * @param View $view
161 161
 	 * @param string $name
162
+	 * @param string $dir
163
+	 * @param boolean $onlyHeader
162 164
 	 */
163 165
 	private static function getSingleFile($view, $dir, $name, $onlyHeader) {
164 166
 		$filename = $dir . '/' . $name;
@@ -184,7 +186,7 @@  discard block
 block discarded – undo
184 186
 
185 187
 	/**
186 188
 	 * @param View $view
187
-	 * @param $dir
189
+	 * @param string $dir
188 190
 	 * @param string[]|string $files
189 191
 	 */
190 192
 	public static function lockFiles($view, $dir, $files) {
@@ -289,11 +291,11 @@  discard block
 block discarded – undo
289 291
 	}
290 292
 
291 293
 	/**
292
-	 * @param $dir
294
+	 * @param string $dir
293 295
 	 * @param $files
294
-	 * @param $getType
296
+	 * @param integer $getType
295 297
 	 * @param View $view
296
-	 * @param $filename
298
+	 * @param string $filename
297 299
 	 */
298 300
 	private static function unlockAllTheFiles($dir, $files, $getType, $view, $filename) {
299 301
 		if ($getType === self::FILE) {
Please login to merge, or discard this patch.
lib/private/files/fileinfo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
 	}
186 186
 
187 187
 	/**
188
-	 * @return \OCP\Files\FileInfo::TYPE_FILE|\OCP\Files\FileInfo::TYPE_FOLDER
188
+	 * @return string
189 189
 	 */
190 190
 	public function getType() {
191 191
 		if (!isset($this->data['type'])) {
Please login to merge, or discard this patch.
lib/private/files/filesystem.php 2 patches
Doc Comments   +50 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 	/**
223 223
 	 * Returns the storage factory
224 224
 	 *
225
-	 * @return \OCP\Files\Storage\IStorageFactory
225
+	 * @return \OCP\Files\Storage\IStorageFactory|null
226 226
 	 */
227 227
 	public static function getLoader() {
228 228
 		if (!self::$loader) {
@@ -336,6 +336,9 @@  discard block
 block discarded – undo
336 336
 		}
337 337
 	}
338 338
 
339
+	/**
340
+	 * @param string $root
341
+	 */
339 342
 	static public function init($user, $root) {
340 343
 		if (self::$defaultInstance) {
341 344
 			return false;
@@ -624,11 +627,15 @@  discard block
 block discarded – undo
624 627
 
625 628
 	/**
626 629
 	 * following functions are equivalent to their php builtin equivalents for arguments/return values.
630
+	 * @param string $path
627 631
 	 */
628 632
 	static public function mkdir($path) {
629 633
 		return self::$defaultInstance->mkdir($path);
630 634
 	}
631 635
 
636
+	/**
637
+	 * @param string $path
638
+	 */
632 639
 	static public function rmdir($path) {
633 640
 		return self::$defaultInstance->rmdir($path);
634 641
 	}
@@ -645,6 +652,9 @@  discard block
 block discarded – undo
645 652
 		return self::$defaultInstance->is_dir($path);
646 653
 	}
647 654
 
655
+	/**
656
+	 * @param string $path
657
+	 */
648 658
 	static public function is_file($path) {
649 659
 		return self::$defaultInstance->is_file($path);
650 660
 	}
@@ -657,6 +667,9 @@  discard block
 block discarded – undo
657 667
 		return self::$defaultInstance->filetype($path);
658 668
 	}
659 669
 
670
+	/**
671
+	 * @param string $path
672
+	 */
660 673
 	static public function filesize($path) {
661 674
 		return self::$defaultInstance->filesize($path);
662 675
 	}
@@ -669,6 +682,9 @@  discard block
 block discarded – undo
669 682
 		return self::$defaultInstance->isCreatable($path);
670 683
 	}
671 684
 
685
+	/**
686
+	 * @param string $path
687
+	 */
672 688
 	static public function isReadable($path) {
673 689
 		return self::$defaultInstance->isReadable($path);
674 690
 	}
@@ -681,6 +697,9 @@  discard block
 block discarded – undo
681 697
 		return self::$defaultInstance->isDeletable($path);
682 698
 	}
683 699
 
700
+	/**
701
+	 * @param string $path
702
+	 */
684 703
 	static public function isSharable($path) {
685 704
 		return self::$defaultInstance->isSharable($path);
686 705
 	}
@@ -693,33 +712,57 @@  discard block
 block discarded – undo
693 712
 		return self::$defaultInstance->filemtime($path);
694 713
 	}
695 714
 
715
+	/**
716
+	 * @param string $path
717
+	 * @param integer $mtime
718
+	 */
696 719
 	static public function touch($path, $mtime = null) {
697 720
 		return self::$defaultInstance->touch($path, $mtime);
698 721
 	}
699 722
 
700 723
 	/**
724
+	 * @param string $path
701 725
 	 * @return string
702 726
 	 */
703 727
 	static public function file_get_contents($path) {
704 728
 		return self::$defaultInstance->file_get_contents($path);
705 729
 	}
706 730
 
731
+	/**
732
+	 * @param string $path
733
+	 * @param string $data
734
+	 */
707 735
 	static public function file_put_contents($path, $data) {
708 736
 		return self::$defaultInstance->file_put_contents($path, $data);
709 737
 	}
710 738
 
739
+	/**
740
+	 * @param string $path
741
+	 */
711 742
 	static public function unlink($path) {
712 743
 		return self::$defaultInstance->unlink($path);
713 744
 	}
714 745
 
746
+	/**
747
+	 * @param string $path1
748
+	 * @param string $path2
749
+	 */
715 750
 	static public function rename($path1, $path2) {
716 751
 		return self::$defaultInstance->rename($path1, $path2);
717 752
 	}
718 753
 
754
+	/**
755
+	 * @param string $path1
756
+	 * @param string $path2
757
+	 */
719 758
 	static public function copy($path1, $path2) {
720 759
 		return self::$defaultInstance->copy($path1, $path2);
721 760
 	}
722 761
 
762
+	/**
763
+	 * @param string $path
764
+	 * @param string $mode
765
+	 */
723 766
 	static public function fopen($path, $mode) {
724 767
 		return self::$defaultInstance->fopen($path, $mode);
725 768
 	}
@@ -735,6 +778,9 @@  discard block
 block discarded – undo
735 778
 		return self::$defaultInstance->fromTmpFile($tmpFile, $path);
736 779
 	}
737 780
 
781
+	/**
782
+	 * @param string $path
783
+	 */
738 784
 	static public function getMimeType($path) {
739 785
 		return self::$defaultInstance->getMimeType($path);
740 786
 	}
@@ -747,6 +793,9 @@  discard block
 block discarded – undo
747 793
 		return self::$defaultInstance->free_space($path);
748 794
 	}
749 795
 
796
+	/**
797
+	 * @param string $query
798
+	 */
750 799
 	static public function search($query) {
751 800
 		return self::$defaultInstance->search($query);
752 801
 	}
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 
59 59
 namespace OC\Files;
60 60
 
61
-use OC\Cache\File;
62 61
 use OC\Files\Config\MountProviderCollection;
63 62
 use OC\Files\Storage\StorageFactory;
64 63
 use OCP\Files\Config\IMountProvider;
Please login to merge, or discard this patch.
lib/private/files/node/folder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
 	/**
196 196
 	 * search for files by tag
197 197
 	 *
198
-	 * @param string|int $tag name or tag id
198
+	 * @param string $tag name or tag id
199 199
 	 * @param string $userId owner of the tags
200 200
 	 * @return Node[]
201 201
 	 */
Please login to merge, or discard this patch.
lib/private/files/node/root.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@
 block discarded – undo
169 169
 	 * @param string $path
170 170
 	 * @throws \OCP\Files\NotFoundException
171 171
 	 * @throws \OCP\Files\NotPermittedException
172
-	 * @return \OCP\Files\Node
172
+	 * @return string
173 173
 	 */
174 174
 	public function get($path) {
175 175
 		$path = $this->normalizePath($path);
Please login to merge, or discard this patch.
lib/private/files/stream/dir.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
 
59 59
 	/**
60 60
 	 * @param string $path
61
+	 * @param string[] $content
61 62
 	 */
62 63
 	public static function register($path, $content) {
63 64
 		self::$dirs[$path] = $content;
Please login to merge, or discard this patch.
lib/private/files/stream/encryption.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
 	 *
176 176
 	 * @param resource $source
177 177
 	 * @param string $mode
178
-	 * @param array $context
178
+	 * @param resource $context
179 179
 	 * @param string $protocol
180 180
 	 * @param string $class
181 181
 	 * @return resource
Please login to merge, or discard this patch.