From db41c5c82c3eef622b5364e3849b98700164f7f1 Mon Sep 17 00:00:00 2001 From: ruff Date: Tue, 6 Aug 2024 05:41:09 +0200 Subject: [PATCH] Code cleanup --- src/traits/HandlesProfiles.php | 2 +- tests/testcases/CiiToUblTechnical3Test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/traits/HandlesProfiles.php b/src/traits/HandlesProfiles.php index 4df0271..f0f1d10 100644 --- a/src/traits/HandlesProfiles.php +++ b/src/traits/HandlesProfiles.php @@ -74,7 +74,7 @@ public function getForceDestinationProfile(): string * Returns the profile code to force. If no profile to force is given the * $default value will be returned * - * @param string $defaultProfile + * @param string $defaultProfile * @return string */ public function getForceDestinationProfileWithDefault(string $defaultProfile): string diff --git a/tests/testcases/CiiToUblTechnical3Test.php b/tests/testcases/CiiToUblTechnical3Test.php index 17ac916..5b423a9 100644 --- a/tests/testcases/CiiToUblTechnical3Test.php +++ b/tests/testcases/CiiToUblTechnical3Test.php @@ -43,7 +43,7 @@ public function testDocumentGeneral(): void $this->assertXPathValueWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:ID', 0, '01_15_Anhang_01.pdf'); $this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentTypeCode', 0); $this->assertXPathValueWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentDescription', 0, 'Aufschlüsselung der einzelnen Leistungspositionen'); - $this->assertXPathValueStartsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject', 0,'JVBERi0xLjUNCiW1tbW1D'); + $this->assertXPathValueStartsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject', 0, 'JVBERi0xLjUNCiW1tbW1D'); $this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:ID', 1); $this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentTypeCode', 1); $this->assertXPathNotExistsWithIndex('/ubl:Invoice/cac:AdditionalDocumentReference/cbc:DocumentDescription', 1);