Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Mar 30, 2021
1 parent 9bc41ae commit f6bef66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `ssl-certificate` will be documented in this file

## 2.0.1 - 2021-03-30

- fix edge case when using serialized certificates

## 2.0.0 - 2021-03-30

- require PHP 8+
Expand Down
4 changes: 2 additions & 2 deletions src/SslCertificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ public function getOrganization(): string

public function getFingerprint(): string
{
return $this->fingerprint;
return $this->fingerprint ?? '';
}

public function getFingerprintSha256(): string
{
return $this->fingerprintSha256;
return $this->fingerprintSha256 ?? '';
}

public function getAdditionalDomains(): array
Expand Down

0 comments on commit f6bef66

Please sign in to comment.