@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function remind($credential_id) { |
42 | 42 | $credential = $this->credentialService->getCredentialById($credential_id, $this->userId); |
43 | - if($credential) { |
|
43 | + if ($credential) { |
|
44 | 44 | $credential->setExpireTime(time() + (24 * 60 * 60)); |
45 | 45 | $this->credentialService->upd($credential); |
46 | 46 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | public function read($credential_id) { |
60 | 60 | |
61 | 61 | $credential = $this->credentialService->getCredentialById($credential_id, $this->userId); |
62 | - if($credential) { |
|
62 | + if ($credential) { |
|
63 | 63 | $credential->setExpireTime(0); |
64 | 64 | $this->credentialService->upd($credential); |
65 | 65 |