@@ -72,7 +72,7 @@ |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * @param $userId |
75 | - * @param int|bool $deleted |
|
75 | + * @param integer $deleted |
|
76 | 76 | * @param string|bool $group |
77 | 77 | * @return NextNote[] if not found |
78 | 78 | */ |
@@ -29,6 +29,10 @@ discard block |
||
29 | 29 | |
30 | 30 | class ShareFix extends Share { |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $level |
|
34 | + * @param string $message |
|
35 | + */ |
|
32 | 36 | private static function log($level, $message, $context) { |
33 | 37 | \OC::$server->getLogger()->log($level, $message, $context); |
34 | 38 | } |
@@ -844,6 +848,9 @@ discard block |
||
844 | 848 | return $date; |
845 | 849 | } |
846 | 850 | |
851 | + /** |
|
852 | + * @param string $itemType |
|
853 | + */ |
|
847 | 854 | public static function getPermissions($itemType, $itemSource, $uid) { |
848 | 855 | $uid = \OC::$server->getUserSession()->getUser(); |
849 | 856 | $gm = \OC::$server->getGroupManager(); |
@@ -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) { |
@@ -145,7 +145,7 @@ |
||
145 | 145 | * For permissions |
146 | 146 | * @see \OCP\Constants |
147 | 147 | * @param $permission |
148 | - * @param $note NextNote |
|
148 | + * @param NextNote $note NextNote |
|
149 | 149 | * @return bool|int |
150 | 150 | */ |
151 | 151 | public function checkPermissions($permission, $note) { |
@@ -31,7 +31,6 @@ |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Creates a new json response with a not found status code. |
34 | - * @param array $response_data |
|
35 | 34 | */ |
36 | 35 | public function __construct() { |
37 | 36 | parent::__construct(null, Http::STATUS_UNAUTHORIZED); |