Skip to content

Commit cc2b0de

Browse files
Merge pull request #7 from parththummar/patch-2
Fixed error order view on Frontend Issue #5
2 parents 09d0eeb + c1ba62a commit cc2b0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataService/MagentoProductWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function __construct(Product $product)
3535
*/
3636
public function getSku(): string
3737
{
38-
return $this->product->getData('sku');
38+
return (string)$this->product->getData('sku');
3939
}
4040

4141

0 commit comments

Comments
 (0)