Skip to content

Commit

Permalink
Merge branch 'master' of github.com:fredbradley/laravel-rule-nhs-number
Browse files Browse the repository at this point in the history
  • Loading branch information
fredbradley committed Sep 30, 2021
2 parents e8b8155 + 2c67d36 commit 7a6d076
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Generator
/**
* Generate a single random NHS number.
*
* @param bool $unique
* @param bool $unique
* @return string
*/
public static function nhsNumber(): string
Expand All @@ -23,8 +23,8 @@ public static function nhsNumber(): string
/**
* Generate a list of random NHS numbers.
*
* @param int $count
* @param bool $unique
* @param int $count
* @param bool $unique
* @return array
*/
public static function nhsNumbers(int $count, bool $unique = true): array
Expand Down
4 changes: 2 additions & 2 deletions src/ValidateNhsNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public function __construct()
/**
* Determine if the validation rule passes.
*
* @param string $attribute
* @param mixed $value
* @param string $attribute
* @param mixed $value
* @return bool
*/
public function passes($attribute, $value): bool
Expand Down

0 comments on commit 7a6d076

Please sign in to comment.