Skip to content

Commit 341ad85

Browse files
authored
Merge pull request #47 from Yorgv/fix/sku-id-nullable
fix: make product variant sku_id nullable
2 parents 73cc2ce + c0122af commit 341ad85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BigCommerce/ResourceModels/Catalog/Product/ProductVariant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ProductVariant extends ResourceModel
99
public int $id;
1010
public int $product_id;
1111
public string $sku;
12-
public int $sku_id;
12+
public ?int $sku_id;
1313
public ?float $price;
1414
public ?float $calculated_price;
1515
public ?float $sale_price;

0 commit comments

Comments
 (0)