INFRA-132 - CRM/Event - phpcbf
[civicrm-core.git] / CRM / Contact / Import / ImportJob.php
index ffb58217c4a7434baab34d8279e499e131042a20..a9264e1d7c161baad725de2f5e7b0ee93c7187f7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -118,7 +118,8 @@ class CRM_Contact_Import_ImportJob {
       'mapperRelatedContactImProvider',
       'mapperRelatedContactWebsiteType',
     );
-    foreach ($properties as $property) $this->{"_$property"} = array();
+    foreach ($properties as $property) { $this->{"_$property"} = array();
+    }
   }
 
   /**
@@ -190,7 +191,8 @@ class CRM_Contact_Import_ImportJob {
 
     foreach ($mapper as $key => $value) {
       //set respective mapper value to null.
-      foreach (array_values($mapperPeroperties) as $perpertyVal)$$perpertyVal = NULL;
+      foreach (array_values($mapperPeroperties) as $perpertyVal) { $$perpertyVal = NULL;
+      }
 
       $fldName = CRM_Utils_Array::value(0, $mapper[$key]);
       $header = array($this->_mapFields[$fldName]);
@@ -466,4 +468,3 @@ class CRM_Contact_Import_ImportJob {
     return $incompleteImportTables;
   }
 }
-