Skip to content

Commit

Permalink
simplify factory
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 6, 2017
1 parent 164acc8 commit c5add7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions database/factories/UserFactory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use App\User;
use Faker\Generator as Faker;

/*
Expand All @@ -14,8 +13,7 @@
|
*/

/* @var \Illuminate\Database\Eloquent\Factory $factory */
$factory->define(User::class, function (Faker $faker) {
$factory->define(App\User::class, function (Faker $faker) {
static $password;

return [
Expand Down

0 comments on commit c5add7a

Please sign in to comment.