simplify factory

This commit is contained in:
Taylor Otwell 2017-05-06 15:28:45 -04:00
parent 164acc8d7a
commit c5add7ab72
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
<?php <?php
use App\User;
use Faker\Generator as Faker; use Faker\Generator as Faker;
/* /*
@ -14,8 +13,7 @@
| |
*/ */
/* @var \Illuminate\Database\Eloquent\Factory $factory */ $factory->define(App\User::class, function (Faker $faker) {
$factory->define(User::class, function (Faker $faker) {
static $password; static $password;
return [ return [