method(), ['PATCH', 'PUT'], true)) { $unq_name = ','.$this->group->id; } return [ 'name' => 'required|string|unique:user_group,name'.$unq_name, 'nodes' => 'nullable|exists:node,id', ]; } }