public function boot()
{
// Password Configuration
- Password::defaults(function () {
- return Password::min(8);
- });
+ // Changes here must be reflected in ApiDocsGenerate@getValidationAsString.
+ Password::defaults(fn () => Password::min(8));
// Custom guards
Auth::extend('api-token', function ($app, $name, array $config) {