1
0
Fork 0
mirror of https://github.com/archtechx/money.git synced 2025-12-12 11:24:03 +00:00

fix docblock grammar

This commit is contained in:
Samuel Štancl 2022-05-16 12:51:29 +02:00 committed by GitHub
parent f24ced5445
commit edfe305608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ class Currency implements Arrayable, JsonSerializable
/** How many decimals of the currency's values should get rounded. */ /** How many decimals of the currency's values should get rounded. */
protected int $rounding; protected int $rounding;
/** The setting used for determining if trailing decimal zeros should be trimmed. */ /** Should trailing decimal zeros be trimmed. */
protected bool $trimTrailingDecimalZeros; protected bool $trimTrailingDecimalZeros;
/** Create a new Currency instance. */ /** Create a new Currency instance. */
@ -138,7 +138,7 @@ class Currency implements Arrayable, JsonSerializable
return $this->rounding; return $this->rounding;
} }
/** Get the setting for how trailing decimal zeroes should be handled. */ /** Get the currency's setting for trimming trailing decimal zeros. */
public function trimTrailingDecimalZeros(): bool public function trimTrailingDecimalZeros(): bool
{ {
return $this->trimTrailingDecimalZeros; return $this->trimTrailingDecimalZeros;