Skip to content

Commit

Permalink
📖 Improve descriptions for amount field and getter
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-demb authored Jul 13, 2024
1 parent a1daa7d commit 267ed3c
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 267ed3c

Please sign in to comment.