Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix(Product): correct type of sku in product variant
Browse files Browse the repository at this point in the history
Closes #292
  • Loading branch information
Jens Schulze committed Feb 14, 2017
1 parent 18bfc72 commit 526c4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Product/ProductVariant.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function fieldDefinitions()
{
return [
'id' => [static::TYPE => 'int'],
'sku' => [static::TYPE => 'int'],
'sku' => [static::TYPE => 'string'],
'prices' => [static::TYPE => '\Commercetools\Core\Model\Common\PriceCollection'],
'price' => [static::TYPE => '\Commercetools\Core\Model\Common\Price'],
'attributes' => [static::TYPE => '\Commercetools\Core\Model\Common\AttributeCollection'],
Expand Down

0 comments on commit 526c4c3

Please # to comment.