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

View File

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