X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMember%2FImport%2FField.php;h=e4f44e5b3d2899a604b552aef04230297e743b82;hb=a56a8cae14c1b48b3d6cee4bf050f33da55d5e6a;hp=c1898d66e3273dc3fb67817e8e76b3e7ae6dcbee;hpb=e08c179450090afdc3526734b74d540d965b25bd;p=civicrm-core.git diff --git a/CRM/Member/Import/Field.php b/CRM/Member/Import/Field.php index c1898d66e3..e4f44e5b3d 100644 --- a/CRM/Member/Import/Field.php +++ b/CRM/Member/Import/Field.php @@ -35,7 +35,7 @@ class CRM_Member_Import_Field { /** * Type of field - * @var enum + * @var int */ public $_type; @@ -65,13 +65,13 @@ class CRM_Member_Import_Field { /** * Value of this field - * @var object + * @var string|null */ public $_value; /** * @param string $name - * @param $title + * @param string $title * @param int $type * @param string $headerPattern * @param string $dataPattern @@ -94,7 +94,7 @@ class CRM_Member_Import_Field { * The value is in string format. convert the value to the type of this field * and set the field value with the appropriate type * - * @param $value + * @param string $value */ public function setValue($value) { $this->_value = $value; @@ -111,8 +111,8 @@ class CRM_Member_Import_Field { switch ($this->_name) { case 'contact_id': - // note: we validate extistence of the contact in API, upon - // insert (it would be too costlty to do a db call here) + // note: we validate existence of the contact in API, upon + // insert (it would be too costly to do a db call here) return CRM_Utils_Rule::integer($this->_value); case 'receive_date':