Skip to content

Commit 5ed1b84

Browse files
committed
README: Minor update 😃
1 parent 40e161a commit 5ed1b84

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ composer require ph7software/secure-password-generator
2121
```php
2222
use PH7\Generator\Password;
2323

24-
echo Password::generate(10); // Generate a 10 length password
24+
echo Password::generate(10); // Generate a 10-length password
2525
````
2626

2727

@@ -35,21 +35,21 @@ echo Password::generate(Password::DEFAULT_LENGTH, false);
3535
````
3636

3737

38-
You can use the public constant `Password::DEFAULT_LENGTH` which contains `12` as the default value
38+
You can use the constant `Password::DEFAULT_LENGTH` which contains `12` as the default value
3939

4040
```php
4141
use PH7\Generator\Password;
4242

43-
// By default, it generates a 12 length password
43+
// By default, it generates a 12-length password
4444
echo Password::generate(Password::DEFAULT_LENGTH);
4545
````
4646

47-
Without argument, the function will generate a 12-character password.
47+
Without argument, the function will also generate a 12-character password.
4848

4949
```php
5050
use PH7\Generator\Password;
5151

52-
// By default, it generates a 12 length password
52+
// By default, it generates a 12-length password
5353
echo Password::generate();
5454
````
5555

0 commit comments

Comments
 (0)