user() !== null; } /** * Get the validation rules that apply to the request. * * @return array|string> */ public function rules(): array { return [ 'show_author' => ['nullable', 'boolean'], 'show_story_points' => ['nullable', 'boolean'], ]; } }