Skip to content

Commit

Permalink
Merge pull request fzaninotto#1514 from shawnlindstrom/document_rando…
Browse files Browse the repository at this point in the history
…m_digit_not

Document randomDigitNot base formatter.
  • Loading branch information
fzaninotto authored Sep 17, 2019
2 parents 8ae720b + d4441e6 commit 57a80b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Each of the generator properties (like `name`, `address`, and `lorem`) are calle
### `Faker\Provider\Base`

randomDigit // 7
randomDigitNot(5) // 0, 1, 2, 3, 4, 6, 7, 8, or 9
randomDigitNotNull // 5
randomNumber($nbDigits = NULL, $strict = false) // 79907610
randomFloat($nbMaxDecimals = NULL, $min = 0, $max = NULL) // 48.8932
Expand Down
1 change: 1 addition & 0 deletions src/Faker/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
* @method boolean boolean($chanceOfGettingTrue = 50)
*
* @property int $randomDigit
* @property int $randomDigitNot
* @property int $randomDigitNotNull
* @property string $randomLetter
* @property string $randomAscii
Expand Down

0 comments on commit 57a80b5

Please sign in to comment.