mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Merge pull request #3987 from barryvdh/patch-2
Add typehint for Factory
This commit is contained in:
commit
421b210a77
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user