Skip to content

Commit

Permalink
Merge pull request #793 from andrew-demb/patch-1
Browse files Browse the repository at this point in the history
📖 Improve descriptions for amount field and getter
  • Loading branch information
frederikbosch authored Aug 12, 2024
2 parents 43296ac + 267ed3c commit 1cfa717
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Money.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ final class Money implements JsonSerializable

/**
* Internal value.
* Amount, expressed in the smallest currency units (eg cents).
*
* @psalm-var numeric-string
*/
Expand Down Expand Up @@ -164,7 +165,7 @@ public function lessThanOrEqual(Money $other): bool
}

/**
* Returns the value represented by this object.
* Returns the value represented by this object - amount, expressed in the smallest currency units (eg cents).
*
* @psalm-return numeric-string
*/
Expand Down

0 comments on commit 1cfa717

Please sign in to comment.