Skip to content

Commit

Permalink
Merge pull request #299 from gustavomews/patch-1
Browse files Browse the repository at this point in the history
Update Exception Expired Certificate
  • Loading branch information
robmachado committed Sep 19, 2023
2 parents c6ef66e + 5372102 commit dc5aa12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Certificate/Exception/Expired.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ class Expired extends RuntimeException implements ExceptionInterface
public function __construct(Certificate $certificate)
{
$invalidDate = $certificate->getValidTo()->format('Y-m-d H:i:s');
parent::__construct('Certificate era válido até ' . $invalidDate, 0, null);
parent::__construct('Certificado era válido até ' . $invalidDate, 0, null);
}
}

0 comments on commit dc5aa12

Please sign in to comment.