Completed
Pull Request — stable9 (#3434)
by Lukas
07:56
created
apps/dav/lib/systemtag/systemtagsobjectmappingcollection.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
 		$this->isAdmin = $isAdmin;
84 84
 	}
85 85
 
86
+	/**
87
+	 * @param string $tagId
88
+	 */
86 89
 	function createFile($tagId, $data = null) {
87 90
 		try {
88 91
 			if (!$this->isAdmin) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Sabre\DAV\Exception\BadRequest;
27 27
 use Sabre\DAV\Exception\PreconditionFailed;
28 28
 use Sabre\DAV\ICollection;
29
-
30 29
 use OCP\SystemTag\ISystemTagManager;
31 30
 use OCP\SystemTag\ISystemTagObjectMapper;
32 31
 use OCP\SystemTag\ISystemTag;
Please login to merge, or discard this patch.
apps/dav/lib/systemtag/systemtagsobjecttypecollection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,6 @@
 block discarded – undo
26 26
 use Sabre\DAV\Exception\MethodNotAllowed;
27 27
 use Sabre\DAV\Exception\NotFound;
28 28
 use Sabre\DAV\ICollection;
29
-
30 29
 use OCP\SystemTag\ISystemTagManager;
31 30
 use OCP\SystemTag\ISystemTagObjectMapper;
32 31
 use OCP\IUserSession;
Please login to merge, or discard this patch.
apps/files_external/command/config.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -27,11 +27,8 @@
 block discarded – undo
27 27
 use OCA\Files_external\NotFoundException;
28 28
 use OCA\Files_external\Service\GlobalStoragesService;
29 29
 use Symfony\Component\Console\Command\Command;
30
-use Symfony\Component\Console\Helper\Table;
31
-use Symfony\Component\Console\Helper\TableHelper;
32 30
 use Symfony\Component\Console\Input\InputArgument;
33 31
 use Symfony\Component\Console\Input\InputInterface;
34
-use Symfony\Component\Console\Input\InputOption;
35 32
 use Symfony\Component\Console\Output\OutputInterface;
36 33
 
37 34
 class Config extends Base {
Please login to merge, or discard this patch.
apps/files_external/lib/amazons3.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -230,6 +230,9 @@
 block discarded – undo
230 230
 		return false;
231 231
 	}
232 232
 
233
+	/**
234
+	 * @param string $path
235
+	 */
233 236
 	private function batchDelete ($path = null) {
234 237
 		$params = array(
235 238
 			'Bucket' => $this->bucket
Please login to merge, or discard this patch.
apps/files_external/lib/dropbox.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@
 block discarded – undo
75 75
 		return false;
76 76
 	}
77 77
 
78
+	/**
79
+	 * @param string $path
80
+	 */
78 81
 	private function setMetaData($path, $metaData) {
79 82
 		$this->metaData[ltrim($path, '/')] = $metaData;
80 83
 	}
Please login to merge, or discard this patch.
apps/files_external/lib/sftp.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
  */
33 33
 namespace OC\Files\Storage;
34 34
 use Icewind\Streams\IteratorDirectory;
35
-
36 35
 use Icewind\Streams\RetryWrapper;
37 36
 use phpseclib\Net\SFTP\Stream;
38 37
 
Please login to merge, or discard this patch.
apps/files_sharing/api/server2server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
 	 *
260 260
 	 * @param int $id
261 261
 	 * @param string $token
262
-	 * @return array
262
+	 * @return string
263 263
 	 */
264 264
 	private function getShare($id, $token) {
265 265
 		$query = \OCP\DB::prepare('SELECT * FROM `*PREFIX*share` WHERE `id` = ? AND `token` = ? AND `share_type` = ?');
Please login to merge, or discard this patch.
apps/files_sharing/api/share20ocs.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use OCP\Files\IRootFolder;
32 32
 use OCP\Share;
33 33
 use OCP\Share\IManager;
34
-
35 34
 use OCP\Share\Exceptions\ShareNotFound;
36 35
 use OCP\Share\Exceptions\GenericShareException;
37 36
 
Please login to merge, or discard this patch.
apps/files_sharing/lib/external/manager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -325,6 +325,9 @@
 block discarded – undo
325 325
 		return $result;
326 326
 	}
327 327
 
328
+	/**
329
+	 * @param string $mountPoint
330
+	 */
328 331
 	public function removeShare($mountPoint) {
329 332
 		$mountPoint = $this->stripPath($mountPoint);
330 333
 		$hash = md5($mountPoint);
Please login to merge, or discard this patch.