From 715fd0d06b4402f6c324c641cc2e8a3dfe3d503e Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 4 Dec 2017 15:52:57 -0600 Subject: [PATCH] woops, broke the seeder --- database/seeds/DatabaseSeeder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index 8d1dedb0..9d379886 100755 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -20,7 +20,7 @@ class DatabaseSeeder extends Seeder public function run() { $env = App::environment(); - if(in_array($env, self::$seed_mapper, true)) { + if(array_key_exists($env, self::$seed_mapper)) { $env = self::$seed_mapper[$env]; }