Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Sep 4, 2023
1 parent a602234 commit 5924a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/SslCertificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ public function getPublicKeyAlgorithm(): string
return match($this->publicKeyDetail['type'] ?? -1) {
OPENSSL_KEYTYPE_RSA => 'RSA',
OPENSSL_KEYTYPE_DSA => 'DSA',
OPENSSL_KEYTYPE_DH => 'DH',
OPENSSL_KEYTYPE_EC => 'EC',
default => 'Unknown',
OPENSSL_KEYTYPE_DH => 'DH',
OPENSSL_KEYTYPE_EC => 'EC',
default => 'Unknown',
};
}

Expand Down
2 changes: 1 addition & 1 deletion tests/SslCertificateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
->expect(fn () => $this->certificate->getPublicKeySize())
->toEqual(0);

it('can determine the additional domains', function () {
it('can determine the additional domains', function () {
expect($this->certificate->getAdditionalDomains())->toHaveCount(3)
->and($this->certificate->getAdditionalDomains()[0])->toEqual('spatie.be')
->and($this->certificate->getAdditionalDomains()[1])->toEqual('www.spatie.be')
Expand Down

0 comments on commit 5924a68

Please sign in to comment.