Browse Source

Use implicit null instead of explicit

Adam Wathan 7 years ago
parent
commit
3435710575
1 changed files with 1 additions and 1 deletions
  1. 1 1
      database/factories/ModelFactory.php

+ 1 - 1
database/factories/ModelFactory.php

@@ -12,7 +12,7 @@
 */
 
 $factory->define(App\User::class, function (Faker\Generator $faker) {
-    static $password = null;
+    static $password;
 
     return [
         'name' => $faker->name,