Skip to content

Commit

Permalink
Fix signature for Money allocate_max_amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock authored Jul 31, 2023
1 parent ec90e1b commit 057a71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbi/annotations/shopify-money.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class Money
sig { params(splits: T::Array[Numeric], strategy: Symbol).returns(T::Array[Money]) }
def allocate(splits, strategy); end

sig { params(maximums: T::Array[Numeric]).returns(T::Array[Money]) }
sig { params(maximums: T::Array[T.any(Money, Numeric, String)]).returns(T::Array[Money]) }
def allocate_max_amounts(maximums); end

sig { params(num: Numeric).returns(T::Array[Money]) }
Expand Down

0 comments on commit 057a71a

Please sign in to comment.