Browse Source

Merge pull request #3449 from browner12/patch-1

type hint faker generator
Taylor Otwell 9 years ago
parent
commit
e3f18ea5f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      database/factories/ModelFactory.php

+ 1 - 1
database/factories/ModelFactory.php

@@ -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,