Skip to content

Commit 561e50a

Browse files
author
nikolay
committed
PHP docs added at set / get productProperties
1 parent 5dc48c4 commit 561e50a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/ShoppingCart/Entity/ShoppingCartEntity.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,17 @@ public function setPrice($price)
106106
$this->price = $price;
107107
}
108108

109-
public function setProductProperties($properties)
109+
/**
110+
* @param array $properties
111+
*/
112+
public function setProductProperties(array $properties)
110113
{
111114
$this->product_properties = $properties;
112115
}
113116

117+
/**
118+
* @return array
119+
*/
114120
public function getProductProperties()
115121
{
116122
return $this->product_properties;

src/ShoppingCart/Entity/ShoppingCartEntityInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function setQty($qty);
2626

2727
public function setPrice($price);
2828

29-
public function setProductProperties($properties);
29+
public function setProductProperties(array $properties);
3030

3131
public function getProductProperties();
3232
}

0 commit comments

Comments
 (0)