Skip to content

Commit

Permalink
type hint faker generator
Browse files Browse the repository at this point in the history
allow IDE to help with autocompletion
  • Loading branch information
browner12 committed Jul 7, 2015
1 parent ef95871 commit 7bb1326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/ModelFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7bb1326

Please sign in to comment.