Completed
Pull Request — master (#263)
by Roeland
15:02 queued 05:08
created
lib/Controller/OCSController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
28 28
 use OCP\AppFramework\Http\DataResponse;
29 29
 use OCP\AppFramework\OCS\OCSBadRequestException;
30 30
 use OCP\AppFramework\OCS\OCSNotFoundException;
31
-use OCP\Files\File;
32 31
 use OCP\Files\Folder;
33 32
 use OCP\Files\IRootFolder;
34 33
 use OCP\Files\NotFoundException;
Please login to merge, or discard this patch.
lib/TemplateManager.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use OCP\Files\NotFoundException;
32 32
 use OCP\IConfig;
33 33
 use OCP\IL10N;
34
-use OCP\IPreview;
35 34
 use OCP\IURLGenerator;
36 35
 use OC\Files\AppData\Factory;
37 36
 
Please login to merge, or discard this patch.
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@  discard block
 block discarded – undo
135 135
 		$this->l = $l;
136 136
 	}
137 137
 
138
+	/**
139
+	 * @param string $userId
140
+	 */
138 141
 	public function setUserId($userId) {
139 142
 		$this->userId = $userId;
140 143
 	}
@@ -297,6 +300,9 @@  discard block
 block discarded – undo
297 300
 		}));
298 301
 	}
299 302
 
303
+	/**
304
+	 * @param string $type
305
+	 */
300 306
 	public function getAllFormatted($type) {
301 307
 		if (!array_key_exists($type, self::$tplTypes)) {
302 308
 			return [];
@@ -429,6 +435,9 @@  discard block
 block discarded – undo
429 435
 		];
430 436
 	}
431 437
 
438
+	/**
439
+	 * @param integer $fileId
440
+	 */
432 441
 	public function isTemplate($fileId) {
433 442
 		$empty = $this->getEmpty();
434 443
 		$system = $this->getSystem();
Please login to merge, or discard this patch.