Use the ::class notation

This commit is contained in:
Pantelis Peslis
2015-06-08 10:29:33 +03:00
parent bacda07552
commit 16e37cb370
5 changed files with 10 additions and 10 deletions

View File

@@ -11,7 +11,7 @@
|
*/
$factory->define('App\User', function ($faker) {
$factory->define(App\User::class, function ($faker) {
return [
'name' => $faker->name,
'email' => $faker->email,