random element in faker code example Example: random element in faker 'type' => $this->faker->randomElement(['seller', 'buyer']),