Skip to content

Commit 2229454

Browse files
refactor(rector): drop unused catch variable in CrlService
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 169809c commit 2229454

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Service/Crl/CrlService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function revokeCertificate(
8080
);
8181

8282
return true;
83-
} catch (\Exception $e) {
83+
} catch (\Exception) {
8484
return false;
8585
}
8686
}
@@ -178,7 +178,7 @@ public function getCertificateStatus(string $serialNumber, ?DateTime $checkDate
178178

179179
return ['status' => 'valid'];
180180

181-
} catch (\OCP\AppFramework\Db\DoesNotExistException $e) {
181+
} catch (\OCP\AppFramework\Db\DoesNotExistException) {
182182
return ['status' => 'unknown'];
183183
}
184184
}

0 commit comments

Comments
 (0)