Create parent for Import/Form/Summary CRM-11254
[civicrm-core.git] / CRM / Event / Import / Parser.php
index 2ba6883b9d29e5e98b3e6894eac3e2b3730d4ea4..d2162ae544cf569628a5823fcb2594286f32cb70 100644 (file)
@@ -69,9 +69,9 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
     $seperator = ',',
     &$mapper,
     $skipColumnHeader = FALSE,
-    $mode             = self::MODE_PREVIEW,
-    $contactType      = self::CONTACT_INDIVIDUAL,
-    $onDuplicate      = self::DUPLICATE_SKIP
+    $mode = self::MODE_PREVIEW,
+    $contactType = self::CONTACT_INDIVIDUAL,
+    $onDuplicate = self::DUPLICATE_SKIP
   ) {
     if (!is_array($fileName)) {
       CRM_Core_Error::fatal();
@@ -106,8 +106,8 @@ abstract class CRM_Event_Import_Parser extends CRM_Import_Parser {
     $this->_invalidRowCount = $this->_validCount = 0;
     $this->_totalCount = $this->_conflictCount = 0;
 
-    $this->_errors    = array();
-    $this->_warnings  = array();
+    $this->_errors = array();
+    $this->_warnings = array();
     $this->_conflicts = array();
 
     $this->_fileSize = number_format(filesize($fileName) / 1024.0, 2);