Skip to content

Commit

Permalink
Fix parameter declarations in ObjectHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Sep 22, 2023
1 parent 2dca3cc commit 22d8422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZugferdObjectHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 22d8422

Please sign in to comment.