Skip to content

Commit 1f1f7b1

Browse files
committed
Fix copy-paste gone wrong
1 parent 9594c6f commit 1f1f7b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/XML/ds/X509Certificate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ public function getCertificate(): string
5252
*/
5353
private function setCertificate(string $certificate): void
5454
{
55-
Assert::notEmpty($digest, 'DigestValue cannot be empty');
56-
Assert::stringPlausibleBase64($digest, 'ds:X509Certificate is not a valid Base64 encoded string');
55+
Assert::notEmpty($certificate, 'ds:X509Certificate cannot be empty');
56+
Assert::stringPlausibleBase64($certificate, 'ds:X509Certificate is not a valid Base64 encoded string');
5757

5858
$this->certificate = $certificate;
5959
}

0 commit comments

Comments
 (0)