Skip to content

Commit 620489d

Browse files
jekuaitkrimi-itk
andauthored
Update src/KeyHelper.php
Co-authored-by: Mikkel Ricky <[email protected]>
1 parent 2ff7896 commit 620489d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/KeyHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ public function getCertificates(KeyInterface $key): array {
4343
return $this->parseCertificates($key->getKeyValue(), $type->getInputFormat(), $type->getPassphrase(), $key);
4444
}
4545

46-
$preConvertedCertificates = $this->parseCertificates($key->getKeyValue(), $type->getInputFormat(), $type->getPassphrase(), $key);
47-
$convertedAndCombinedCertificate = $this->convertCertificates($preConvertedCertificates, $type->getOutputFormat(), $key);
46+
$parsedCertificates = $this->parseCertificates($key->getKeyValue(), $type->getInputFormat(), $type->getPassphrase(), $key);
47+
$convertedCertificates = $this->convertCertificates($parsedCertificates, $type->getOutputFormat(), $key);
4848

49-
return $this->parseCertificates($convertedAndCombinedCertificate, $type->getOutputFormat(), $type->getPassphrase(), $key);
49+
return $this->parseCertificates($convertedCertificates, $type->getOutputFormat(), $type->getPassphrase(), $key);
5050
}
5151

5252
/**

0 commit comments

Comments
 (0)