@@ -81,7 +81,7 @@ |
||
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 | */ |
@@ -24,21 +24,17 @@ |
||
24 | 24 | namespace OCA\NextNote\Controller; |
25 | 25 | |
26 | 26 | use OCA\NextNote\Db\Notebook; |
27 | -use OCA\NextNote\Fixtures\ShareFix; |
|
28 | 27 | use OCA\NextNote\Service\NotebookService; |
29 | -use OCA\NextNote\Service\NoteService; |
|
30 | 28 | use OCA\NextNote\ShareBackend\NextNoteShareBackend; |
31 | 29 | use OCA\NextNote\Utility\NotFoundJSONResponse; |
32 | 30 | use OCA\NextNote\Utility\UnauthorizedJSONResponse; |
33 | 31 | use OCA\NextNote\Utility\Utils; |
34 | 32 | use \OCP\AppFramework\ApiController; |
35 | 33 | use OCP\AppFramework\Http\JSONResponse; |
36 | -use OCP\Constants; |
|
37 | 34 | use OCP\IConfig; |
38 | 35 | use OCP\ILogger; |
39 | 36 | use \OCP\IRequest; |
40 | 37 | use OCP\IUserManager; |
41 | -use OCP\Share; |
|
42 | 38 | |
43 | 39 | |
44 | 40 | class NotebookApiController extends ApiController { |
@@ -89,7 +89,7 @@ discard block |
||
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 |
95 | 95 | */ |
@@ -101,7 +101,7 @@ discard block |
||
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) { |