*/ public function definition() { return [ 'year' => fake()->randomFloat(1, 1900, 2100), 'title' => fake()->words(rand(1, 2), true), 'description' => fake()->sentence(), 'picture_alt' => fake()->sentence(), 'picture_title' => fake()->sentence(), 'video_id' => null, 'picture_alt' => null, 'picture_title' => null, 'published' => fake()->boolean(75), ]; } }