Skip to content

Commit

Permalink
Merge pull request #3 from rmunate/analysis-a6mbG0
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
rmunate authored Aug 13, 2023
2 parents 2d8813d + 680a8bc commit cc3dd31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 9 additions & 5 deletions src/Validator/SpellNumberValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ final class SpellNumberValidator extends BaseSpellNumberValidator
/**
* Create a new instance of the SpellNumberValidator.
*
* @param string $type The type of data to validate (e.g., "mixed", "integer", "float").
* @param mixed $value The value to validate.
* @param string $type The type of data to validate (e.g., "mixed", "integer", "float").
* @param mixed $value The value to validate.
*
* @throws SpellNumberExceptions
*/
public function __construct(string $type, $value)
Expand All @@ -41,8 +42,9 @@ public function __construct(string $type, $value)
/**
* Validate when the type is "mixed".
*
* @return $this
* @throws SpellNumberExceptions
*
* @return $this
*/
public function mixed()
{
Expand All @@ -56,8 +58,9 @@ public function mixed()
/**
* Validate when the type is "integer".
*
* @return $this
* @throws SpellNumberExceptions
*
* @return $this
*/
public function integer()
{
Expand All @@ -70,8 +73,9 @@ public function integer()
/**
* Validate when the type is "float".
*
* @return $this
* @throws SpellNumberExceptions
*
* @return $this
*/
public function float()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Wrappers/NumberFormatterWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ final class NumberFormatterWrapper
/**
* Format a given numeric value as a spelled-out string.
*
* @param float|int $value The numeric value to format.
* @param float|int $value The numeric value to format.
* @param string|null $locale The locale used for formatting the number. Optional.
*
* @return string|null The spelled-out representation of the number, or null on failure.
Expand Down

0 comments on commit cc3dd31

Please sign in to comment.