type hint faker generator

allow IDE to help with autocompletion
This commit is contained in:
Andrew 2015-07-07 14:47:02 -05:00
parent ef958716c3
commit 7bb1326535
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
| |
*/ */
$factory->define(App\User::class, function ($faker) { $factory->define(App\User::class, function (\Faker\Generator $faker) {
return [ return [
'name' => $faker->name, 'name' => $faker->name,
'email' => $faker->email, 'email' => $faker->email,