We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5944839 commit 7de31b2Copy full SHA for 7de31b2
src/DataTransferObject/Product/Product.php
@@ -52,13 +52,9 @@ public function __construct(
52
public ?int $orderedByCustomers = null,
53
public ?bool $production = null,
54
public ?bool $autoAssignLot = null,
55
- /**
56
- * @var list<array{name: string, vendorName: string}>|null
57
- */
58
- public ?array $vendors = null,
59
60
- * @var list<string>|null
61
+ /** @var list<array{name: string, vendorName: string|null}> */
+ public array $vendors = [],
+ /** @var list<string>|null */
62
public ?array $allowedAreas = null,
63
public ?string $dangerousGoodsClass = null,
64
public ?string $size = null,
0 commit comments