File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ composer require ph7software/secure-password-generator
2121``` php
2222use 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
4141use PH7\Generator\Password;
4242
43- // By default, it generates a 12 length password
43+ // By default, it generates a 12- length password
4444echo 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
5050use PH7\Generator\Password;
5151
52- // By default, it generates a 12 length password
52+ // By default, it generates a 12- length password
5353echo Password::generate();
5454````
5555
You can’t perform that action at this time.
0 commit comments