@@ -62,7 +62,7 @@ |
||
62 | 62 | * Get a app setting |
63 | 63 | * |
64 | 64 | * @param $key string |
65 | - * @param null $default_value The default value if key does not exist |
|
65 | + * @param string|false $default_value The default value if key does not exist |
|
66 | 66 | * @return mixed |
67 | 67 | */ |
68 | 68 | public function getAppSetting($key, $default_value = null) { |
@@ -23,10 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | namespace OCA\NextNote\Controller; |
25 | 25 | |
26 | -use OCA\NextNote\Db\Notebook; |
|
27 | -use OCA\NextNote\Fixtures\ShareFix; |
|
28 | 26 | use OCA\NextNote\Service\NotebookService; |
29 | -use OCA\NextNote\Service\NoteService; |
|
30 | 27 | use OCA\NextNote\ShareBackend\NextNoteShareBackend; |
31 | 28 | use OCA\NextNote\Utility\NotFoundJSONResponse; |
32 | 29 | use OCA\NextNote\Utility\UnauthorizedJSONResponse; |
@@ -38,7 +35,6 @@ discard block |
||
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 { |
@@ -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 | */ |
@@ -40,7 +40,7 @@ |
||
40 | 40 | * Get Notebook(s) |
41 | 41 | * @param int $notebook_id |
42 | 42 | * @param null|int $user_id |
43 | - * @param bool|int $deleted |
|
43 | + * @param boolean $deleted |
|
44 | 44 | * @return Notebook[]|Notebook |
45 | 45 | */ |
46 | 46 | public function find($notebook_id, $user_id = null, $deleted = false) { |