Merge pull request #3987 from barryvdh/patch-2

Add typehint for Factory
This commit is contained in:
Taylor Otwell 2016-10-07 16:39:08 -05:00 committed by GitHub
commit 421b210a77

View File

@ -10,7 +10,7 @@
| database. Just tell the factory how a default model should look. | database. Just tell the factory how a default model should look.
| |
*/ */
/** @var $factory \Illuminate\Database\Eloquent\Factory */
$factory->define(App\User::class, function (Faker\Generator $faker) { $factory->define(App\User::class, function (Faker\Generator $faker) {
static $password; static $password;