From cf286986e261b096f650f3b2baaf030d13a6702e Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 6 Feb 2018 13:13:00 -0600 Subject: [PATCH] change variable name --- app/Database/factories/FlightFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Database/factories/FlightFactory.php b/app/Database/factories/FlightFactory.php index 0f65f164..ea0b696b 100644 --- a/app/Database/factories/FlightFactory.php +++ b/app/Database/factories/FlightFactory.php @@ -31,8 +31,8 @@ $factory->define(App\Models\Flight::class, function (Faker $faker) use ($airline 'has_bid' => false, 'active' => true, 'created_at' => $faker->dateTimeBetween('-1 week', 'now'), - 'updated_at' => function (array $pirep) { - return $pirep['created_at']; + 'updated_at' => function (array $flight) { + return $flight['created_at']; }, ]; });