Skip to content

Commit d54e88f

Browse files
committed
Handling walmart pricing
1 parent 0ba76eb commit d54e88f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DTOs/Walmart/WalmartProductResultContentPrice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
class WalmartProductResultContentPrice extends Data
88
{
99
public function __construct(
10-
public readonly float $price,
11-
public readonly string $currency,
10+
public readonly ?float $price = null,
11+
public readonly ?string $currency = null,
1212
public readonly null|string|float $price_strikethrough = null,
1313
) {}
1414
}

0 commit comments

Comments
 (0)