@@ -83,7 +83,7 @@ |
||
| 83 | 83 | } |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | - private function fetchAll($sql){ |
|
| 86 | + private function fetchAll($sql) { |
|
| 87 | 87 | return $this->db->executeQuery($sql)->fetchAll(); |
| 88 | 88 | } |
| 89 | 89 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | public function __construct(SettingsService $settings) { |
| 98 | 98 | $this->cipher = $settings->getAppSetting('server_side_encryption'); |
| 99 | - $this->rounds = (int)100; |
|
| 99 | + $this->rounds = (int) 100; |
|
| 100 | 100 | $this->server_key = \OC::$server->getConfig()->getSystemValue('passwordsalt', ''); |
| 101 | 101 | } |
| 102 | 102 | |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | |
| 296 | 296 | |
| 297 | 297 | |
| 298 | - private function extractKeysFromCredential($credential){ |
|
| 298 | + private function extractKeysFromCredential($credential) { |
|
| 299 | 299 | $userKey = ''; |
| 300 | 300 | $userSuppliedKey = ''; |
| 301 | 301 | if ($credential instanceof Credential) { |
@@ -281,7 +281,6 @@ discard block |
||
| 281 | 281 | /** |
| 282 | 282 | * Delete ACL |
| 283 | 283 | * |
| 284 | - * @param ShareRequest $request |
|
| 285 | 284 | * @return \OCA\Passman\Db\ShareRequest[] |
| 286 | 285 | */ |
| 287 | 286 | public function deleteShareACL(SharingACL $ACL) { |
@@ -306,7 +305,6 @@ discard block |
||
| 306 | 305 | /** |
| 307 | 306 | * Get pending share requests by guid and uid |
| 308 | 307 | * |
| 309 | - * @param ShareRequest $request |
|
| 310 | 308 | * @return \OCA\Passman\Db\ShareRequest[] |
| 311 | 309 | */ |
| 312 | 310 | public function getPendingShareRequestsForCredential($item_guid, $user_id) { |