Browse Source

Merge pull request #3987 from barryvdh/patch-2

Add typehint for Factory
Taylor Otwell 8 years ago
parent
commit
421b210a77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      database/factories/ModelFactory.php

+ 1 - 1
database/factories/ModelFactory.php

@@ -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;