> */ public function rules(): array { return [ 'name' => ['required', 'string', 'max:64'], 'description' => ['sometimes', 'nullable', 'string', 'max:1024'], 'status' => ['sometimes', 'integer', 'in:'.GroupInfo::STATUS_PRIVATE.','.GroupInfo::STATUS_PUBLIC], ]; } }