@@ -49,6 +49,7 @@ discard block |
||
49 | 49 | * @param $target_item_guid string The shared item GUID |
50 | 50 | * @param $request_array array |
51 | 51 | * @param $permissions integer Must be created with a bitmask from options on the ShareRequest class |
52 | + * @param string $credential_owner |
|
52 | 53 | * @return array Array of sharing requests |
53 | 54 | */ |
54 | 55 | public function createBulkRequests($target_item_id, $target_item_guid, $request_array, $permissions, $credential_owner) { |
@@ -253,7 +254,6 @@ discard block |
||
253 | 254 | /** |
254 | 255 | * Delete ACL |
255 | 256 | * |
256 | - * @param ShareRequest $request |
|
257 | 257 | * @return \OCA\Passman\Db\ShareRequest[] |
258 | 258 | */ |
259 | 259 | public function deleteShareACL(SharingACL $ACL) { |
@@ -277,7 +277,6 @@ discard block |
||
277 | 277 | /** |
278 | 278 | * Get pending share requests by guid and uid |
279 | 279 | * |
280 | - * @param ShareRequest $request |
|
281 | 280 | * @return \OCA\Passman\Db\ShareRequest[] |
282 | 281 | */ |
283 | 282 | public function getPendingShareRequestsForCredential($item_guid, $user_id) { |
@@ -25,6 +25,9 @@ |
||
25 | 25 | $this->manager = \OC::$server->getNotificationManager(); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param \OCA\Passman\Db\Credential $credential |
|
30 | + */ |
|
28 | 31 | function credentialExpiredNotification($credential){ |
29 | 32 | $urlGenerator = \OC::$server->getURLGenerator(); |
30 | 33 | $link = $urlGenerator->getAbsoluteURL($urlGenerator->linkTo('','index.php/apps/passman/#/vault/'. $credential->getVaultId() .'/edit/'. $credential->getId())); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * Get a app setting |
71 | 71 | * |
72 | 72 | * @param $key string |
73 | - * @param null $default_value The default value if key does not exist |
|
73 | + * @param boolean $default_value The default value if key does not exist |
|
74 | 74 | * @return mixed |
75 | 75 | */ |
76 | 76 | public function getAppSetting($key, $default_value = null) { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * Check if an setting is enabled (value of 1) |
112 | 112 | * |
113 | - * @param $setting |
|
113 | + * @param string $setting |
|
114 | 114 | * @return bool |
115 | 115 | */ |
116 | 116 | public function isEnabled($setting) { |