Skip to content

Commit 754d2dc

Browse files
authored
Update README.md
1 parent 053362f commit 754d2dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fake()->optional(0.1)->randomElement([1, 2, 3]); // 90%の確率でnullを返
114114
# おまけ
115115

116116
```php
117-
// laravel で Faker の日本語設定(config/app.php で)
118-
'faker_locale' => 'ja_JP',
119-
117+
// laravel で Faker の日本語設定
118+
APP_FAKER_LOCALE=ja_JP // .env の場合(Laravel 11~)
119+
'faker_locale' => 'ja_JP', // config/app.php の場合
120120
```

0 commit comments

Comments
 (0)