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

Commit 759cdc3

Browse files
committed
test(ShippingRate): fix type for ShippingRate tiers
1 parent 3aaa5dd commit 759cdc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Core/Model/ShippingMethod/ShippingRate.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
* @method ShippingRate setFreeAbove(Money $freeAbove = null)
1717
* @method bool getIsMatching()
1818
* @method ShippingRate setIsMatching(bool $isMatching = null)
19-
* @method Money getTiers()
20-
* @method ShippingRate setTiers(Money $tiers = null)
19+
* @method ShippingRatePriceTierCollection getTiers()
20+
* @method ShippingRate setTiers(ShippingRatePriceTierCollection $tiers = null)
2121
*/
2222
class ShippingRate extends ShippingRateDraft
2323
{
2424
public function fieldDefinitions()
2525
{
2626
$fields = parent::fieldDefinitions();
27-
$fields['tiers'] = [static::TYPE => Money::class];
27+
$fields['tiers'] = [static::TYPE => ShippingRatePriceTierCollection::class];
2828
$fields['isMatching'] = [static::TYPE => 'bool', static::OPTIONAL => true];
2929
return $fields;
3030
}

0 commit comments

Comments
 (0)