faker->dateTimeThisMonth('2 weeks'); return [ 'title' => $this->faker->unique()->text(15), 'description' => $this->faker->text(), 'url' => $this->faker->url(), 'start' => $start, 'end' => $this->faker->dateTimeInInterval($start, '+3 hours'), 'shift_type_id' => ShiftType::factory(), 'location_id' => Location::factory(), 'transaction_id' => $this->faker->optional()->uuid(), 'created_by' => User::factory(), 'updated_by' => $this->faker->optional(.3)->boolean() ? User::factory() : null, ]; } }