Failed Conditions
Pull Request — master (#116)
by
unknown
01:25
created
lib/Db/NoteMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
 	/**
83 83
 	 * @param $userId
84
-	 * @param int|bool $deleted
84
+	 * @param integer $deleted
85 85
 	 * @param string|bool $group
86 86
 	 * @return Note[] if not found
87 87
 	 */
Please login to merge, or discard this patch.
lib/Service/SettingsService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	/**
90 90
 	 * Get user setting
91 91
 	 *
92
-	 * @param $key
92
+	 * @param string $key
93 93
 	 * @param string $default
94 94
 	 * @return string|int
95 95
 	 */
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 	 * Get a app setting
102 102
 	 *
103 103
 	 * @param $key string
104
-	 * @param null $default_value The default value if key does not exist
104
+	 * @param string|false $default_value The default value if key does not exist
105 105
 	 * @return mixed
106 106
 	 */
107 107
 	public function getAppSetting($key, $default_value = null) {
Please login to merge, or discard this patch.
lib/Db/ShareMapper.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\NextNote\Db;
25 25
 
26
-use OCA\NextNote\Service\NotebookService;
27 26
 use \OCA\NextNote\Utility\Utils;
28 27
 use OCP\AppFramework\Db\Entity;
29 28
 use OCP\IDBConnection;
Please login to merge, or discard this patch.
lib/Service/ShareService.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -23,12 +23,9 @@
 block discarded – undo
23 23
 
24 24
 namespace OCA\NextNote\Service;
25 25
 
26
-use OCA\NextNote\Db\Notebook;
27 26
 use OCA\NextNote\Db\Note;
28 27
 use OCA\NextNote\Db\ShareMapper;
29
-use OCA\NextNote\Fixtures\ExampleNote;
30 28
 use OCA\NextNote\Utility\Utils;
31
-use OCA\NextNote\Db\NoteMapper;
32 29
 
33 30
 
34 31
 class ShareService {
Please login to merge, or discard this patch.