Skip to content

Commit

Permalink
Fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysnhall committed Oct 15, 2021
1 parent 3919926 commit 5ac855c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Resources/Receipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function createShipment(array $data) {
$data
);
// Add the shipment to the associated property.
$this->shipments[] = $shipment;
$this->_properties->shipments[] = $shipment;
return $shipment;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Resources/ShippingProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function createShippingDestination($data) {
// Add the shop ID property to the destination.
$destination->shop_id = $this->shop_id;
// Add the new shipping destination to the associated property.
$this->shipping_profile_destinations[] = $destination;
$this->_properties->shipping_profile_destinations[] = $destination;
return $destination;
}

Expand All @@ -84,7 +84,7 @@ public function createShippingUpgrade($data) {
// Add the shop ID property to the destination.
$upgrade->shop_id = $this->shop_id;
// Add the new shipping upgrade to the associated property.
$this->shipping_profile_upgrades[] = $upgrade;
$this->_properties->shipping_profile_upgrades[] = $upgrade;
return $upgrade;
}

Expand Down

0 comments on commit 5ac855c

Please sign in to comment.