Completed
Push — master ( 336fe8...b9e49a )
by Lukas
53:55
created
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.
lib/private/files/stream/staticstream.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return true;
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $path
149
+	 */
147 150
 	public function url_stat($path) {
148 151
 		if (isset(self::$data[$path])) {
149 152
 			$size = strlen(self::$data[$path]);
Please login to merge, or discard this patch.
lib/private/files/type/detection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	}
122 122
 
123 123
 	/**
124
-	 * @return array
124
+	 * @return string[]
125 125
 	 */
126 126
 	public function getAllAliases() {
127 127
 		$this->loadAliases();
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
 
265 265
 	/**
266 266
 	 * Get path to the icon of a file type
267
-	 * @param string $mimeType the MIME type
267
+	 * @param string $mimetype the MIME type
268 268
 	 * @return string the url
269 269
 	 */
270 270
 	public function mimeTypeIcon($mimetype) {
Please login to merge, or discard this patch.
lib/private/files/view.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 * and does not take the chroot into account )
194 194
 	 *
195 195
 	 * @param string $path
196
-	 * @return \OCP\Files\Mount\IMountPoint
196
+	 * @return Mount\MountPoint|null
197 197
 	 */
198 198
 	public function getMount($path) {
199 199
 		return Filesystem::getMountManager()->find($this->getAbsolutePath($path));
@@ -878,7 +878,7 @@  discard block
 block discarded – undo
878 878
 
879 879
 	/**
880 880
 	 * @param string $path
881
-	 * @return bool|string
881
+	 * @return string|false
882 882
 	 * @throws \OCP\Files\InvalidPathException
883 883
 	 */
884 884
 	public function toTmpFile($path) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,6 @@
 block discarded – undo
44 44
 namespace OC\Files;
45 45
 
46 46
 use Icewind\Streams\CallbackWrapper;
47
-use OC\Files\Cache\Updater;
48 47
 use OC\Files\Mount\MoveableMount;
49 48
 use OC\Files\Storage\Storage;
50 49
 use OC\User\User;
Please login to merge, or discard this patch.
lib/private/group/dummy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 	 * Removes a user from a group
107 107
 	 * @param string $uid Name of the user to remove from group
108 108
 	 * @param string $gid Name of the group from which remove the user
109
-	 * @return bool
109
+	 * @return null|false
110 110
 	 *
111 111
 	 * removes the user from a group.
112 112
 	 */
Please login to merge, or discard this patch.
lib/private/group/manager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -144,6 +144,9 @@
 block discarded – undo
144 144
 		return $this->getGroupObject($gid);
145 145
 	}
146 146
 
147
+	/**
148
+	 * @param string $gid
149
+	 */
147 150
 	protected function getGroupObject($gid) {
148 151
 		$backends = array();
149 152
 		foreach ($this->backends as $backend) {
Please login to merge, or discard this patch.
lib/private/helper.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@  discard block
 block discarded – undo
197 197
 		return self::linkToRoute( 'core_ajax_preview', array('x' => 32, 'y' => 32, 'file' => $path ));
198 198
 	}
199 199
 
200
+	/**
201
+	 * @param string $path
202
+	 */
200 203
 	public static function publicPreviewIcon( $path, $token ) {
201 204
 		return self::linkToRoute( 'core_ajax_public_preview', array('x' => 32, 'y' => 32, 'file' => $path, 't' => $token));
202 205
 	}
@@ -827,7 +830,7 @@  discard block
 block discarded – undo
827 830
 	 *
828 831
 	 * @param string $path
829 832
 	 * @param \OCP\Files\FileInfo $rootInfo (optional)
830
-	 * @return array
833
+	 * @return string
831 834
 	 * @throws \OCP\Files\NotFoundException
832 835
 	 */
833 836
 	public static function getStorageInfo($path, $rootInfo = null) {
Please login to merge, or discard this patch.
lib/private/l10n.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 	}
136 136
 
137 137
 	/**
138
-	 * @param $transFile
138
+	 * @param string $transFile
139 139
 	 * @param bool $mergeTranslations
140 140
 	 * @return bool
141 141
 	 */
@@ -517,6 +517,9 @@  discard block
 block discarded – undo
517 517
 		return Punic\Calendar::getFirstWeekday($locale);
518 518
 	}
519 519
 
520
+	/**
521
+	 * @param string $locale
522
+	 */
520 523
 	private function transformToCLDRLocale($locale) {
521 524
 		if ($locale === 'sr@latin') {
522 525
 			return 'sr_latn';
Please login to merge, or discard this patch.