We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed17345 commit a7b3e33Copy full SHA for a7b3e33
src/Event/ViewPromotion.php
@@ -69,7 +69,7 @@ public function setPromotionName(string $name)
69
70
public function addItem(Item $item)
71
{
72
- $this->items = $item->toArray();
+ $this->items[] = $item->toArray();
73
return $this;
74
}
75
0 commit comments