Commit 7bb13265 by Andrew

type hint faker generator

allow IDE to help with autocompletion
parent ef958716
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment