Failed Conditions
Pull Request — master (#6)
by Sander
01:53
created
controller/ownnotev2apicontroller.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 namespace OCA\OwnNote\Controller;
25 25
 
26
-use OC\User\Manager;
27 26
 use OCA\OwnNote\Service\OwnNoteService;
28 27
 use OCA\OwnNote\Utility\NotFoundJSONResponse;
29 28
 use \OCP\AppFramework\ApiController;
Please login to merge, or discard this patch.
lib/backend.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
 	/**
53 53
 	 * @param $haystack
54
-	 * @param $needle
54
+	 * @param string $needle
55 55
 	 * @return bool
56 56
 	 */
57 57
 	public function startsWith($haystack, $needle) {
@@ -59,8 +59,8 @@  discard block
 block discarded – undo
59 59
 	}
60 60
 
61 61
 	/**
62
-	 * @param $string
63
-	 * @param $test
62
+	 * @param string $string
63
+	 * @param string $test
64 64
 	 * @return bool
65 65
 	 */
66 66
 	public function endsWith($string, $test) {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
 	/**
74 74
 	 * @param $folder
75
-	 * @param $file
75
+	 * @param string $file
76 76
 	 */
77 77
 	public function checkEvernote($folder, $file) {
78 78
 		$html = "";
@@ -122,8 +122,8 @@  discard block
 block discarded – undo
122 122
 	}
123 123
 
124 124
 	/**
125
-	 * @param $filetime DateTime
126
-	 * @param $now DateTime
125
+	 * @param DateTime $filetime DateTime
126
+	 * @param DateTime $now DateTime
127 127
 	 * @param $l IL10N
128 128
 	 * @return mixed|string
129 129
 	 */
Please login to merge, or discard this patch.
lib/Service/OwnNoteGroupService.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -24,15 +24,8 @@
 block discarded – undo
24 24
 namespace OCA\OwnNote\Service;
25 25
 
26 26
 use OCA\OwnNote\Db\OwnNote;
27
-use OCA\OwnNote\Utility\Evernote;
28 27
 use OCA\OwnNote\Utility\Utils;
29
-use OCP\IConfig;
30
-use OCP\AppFramework\Db\DoesNotExistException;
31
-use DateTime;
32
-use DOMDocument;
33
-use OC\Files\Filesystem;
34 28
 use OCA\OwnNote\Db\OwnNoteMapper;
35
-use Punic\Exception;
36 29
 
37 30
 
38 31
 class OwnNoteGroupService {
Please login to merge, or discard this patch.
lib/Service/OwnNoteService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 
235 235
 	/**
236 236
 	 * @param $FOLDER
237
-	 * @param $showdel
237
+	 * @param boolean $showdel
238 238
 	 * @return array
239 239
 	 */
240 240
 	public function getListing($FOLDER, $showdel) {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -26,10 +26,7 @@
 block discarded – undo
26 26
 use OCA\OwnNote\Db\OwnNote;
27 27
 use OCA\OwnNote\Utility\Evernote;
28 28
 use OCA\OwnNote\Utility\Utils;
29
-use OCP\IConfig;
30
-use OCP\AppFramework\Db\DoesNotExistException;
31 29
 use DateTime;
32
-use DOMDocument;
33 30
 use OC\Files\Filesystem;
34 31
 use OCA\OwnNote\Db\OwnNoteMapper;
35 32
 use Punic\Exception;
Please login to merge, or discard this patch.
lib/Utility/Evernote.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
 	/**
34 34
 	 * @param $folder
35
-	 * @param $file
35
+	 * @param string $file
36 36
 	 */
37 37
 	public static function checkEvernote($folder, $file) {
38 38
 		$utils = new Utils();
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 namespace OCA\OwnNote\Utility;
25 25
 
26 26
 
27
-use DateTime;
28 27
 use DOMDocument;
29 28
 use OC\Files\Filesystem;
30 29
 
Please login to merge, or discard this patch.