|string> */ public function rules(): array { return [ 'ticket_type_id' => 'sometimes|integer', 'customer_id' => 'nullable|integer', 'title' => 'sometimes|string|max:255', 'description' => 'nullable|string', 'priority' => 'sometimes|in:low,medium,high,critical', 'status' => 'sometimes|in:draft,open,approved,assigned,progress,pending,resolved,closed,cancelled,rejected' ]; } }