* Input values
* @param string $entity
* - address, email, phone
- * @param int|NULL $contactID
+ * @param int|null $contactID
+ *
+ * @throws \CiviCRM_API3_Exception
*/
protected function fillPrimary(&$params, $values, $entity, $contactID) {
if ($values['location_type_id'] === 'Primary') {