From 22d842283da709aec2ebf52d0f86f4fe67272377 Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Fri, 22 Sep 2023 05:35:14 +0200 Subject: [PATCH] Fix parameter declarations in ObjectHelper --- src/ZugferdObjectHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZugferdObjectHelper.php b/src/ZugferdObjectHelper.php index 5bb10fb7..e2d0f89c 100644 --- a/src/ZugferdObjectHelper.php +++ b/src/ZugferdObjectHelper.php @@ -1228,7 +1228,7 @@ public function getTradeProductType(?string $name = null, ?string $description = * @param string|null $value * @return object|null */ - public function getProductCharacteristicType(?string $typeCode = null, ?string $description = null, ?float $valueMeasure = null, ?string $valueMeasureUnitCode = null, ?string $value): ?object + public function getProductCharacteristicType(?string $typeCode = null, ?string $description = null, ?float $valueMeasure = null, ?string $valueMeasureUnitCode = null, ?string $value = null): ?object { if (self::isAllNullOrEmpty(func_get_args())) { return null; @@ -1280,7 +1280,7 @@ public function getProductClassificationType(?string $classCode = null, ?string * @param string|null $unitCode * @return object|null */ - public function getReferencedProductType(?string $globalID, ?string $globalIDType, ?string $sellerAssignedID, ?string $buyerAssignedID, ?string $name, ?string $description = null, ?float $unitQuantity, ?string $unitCode): ?object + public function getReferencedProductType(?string $globalID, ?string $globalIDType, ?string $sellerAssignedID, ?string $buyerAssignedID, ?string $name, ?string $description, ?float $unitQuantity, ?string $unitCode): ?object { if (self::isAllNullOrEmpty(func_get_args())) { return null;