Completed
Pull Request — stable8.2 (#29162)
by Tom
11:55
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/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/objectstore/objectstorestorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@
 block discarded – undo
155 155
 		return true;
156 156
 	}
157 157
 
158
+	/**
159
+	 * @param string $path
160
+	 */
158 161
 	private function rmObjects($path) {
159 162
 		$children = $this->getCache()->getFolderContents($path);
160 163
 		foreach ($children as $child) {
Please login to merge, or discard this patch.
lib/private/files/storage/flysystem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@
 block discarded – undo
54 54
 		$this->flysystem->addPlugin(new GetWithMetadata());
55 55
 	}
56 56
 
57
+	/**
58
+	 * @param string $path
59
+	 */
57 60
 	protected function buildPath($path) {
58 61
 		$fullPath = \OC\Files\Filesystem::normalizePath($this->root . '/' . $path);
59 62
 		return ltrim($fullPath, '/');
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.