Skip to content

Commit bea0037

Browse files
authored
Merge pull request #533 from ans-group/fix-56-support
Remove PHP 5.6 incompatible code
2 parents f58f872 + 7ed626f commit bea0037

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SSL/CertificateClient.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ public function getCertificatePEM($id)
9696
* Validates a csr against a certificate
9797
*
9898
* @param Certificate $certificate
99-
* @return true
99+
* @return bool
100100
* @throws ApiException
101101
*/
102-
public function validateCsr(Certificate $certificate, string $csr): bool
102+
public function validateCsr(Certificate $certificate, string $csr)
103103
{
104104
$this->post(
105105
"v1/certificates/" . urlencode($certificate->id) . "/csr/validate",

0 commit comments

Comments
 (0)