From 68ef454c1b4df2be6fec472911e17242e1e69835 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 2 Feb 2015 22:21:33 +1300 Subject: [PATCH] more comment fixes --- CRM/Contribute/Import/Form/Preview.php | 4 ++-- CRM/Contribute/Import/Parser.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/Import/Form/Preview.php b/CRM/Contribute/Import/Form/Preview.php index 3f5ba0b7a4..eee332bd85 100644 --- a/CRM/Contribute/Import/Form/Preview.php +++ b/CRM/Contribute/Import/Form/Preview.php @@ -161,10 +161,10 @@ class CRM_Contribute_Import_Form_Preview extends CRM_Import_Form_Preview { $onDuplicate ); - // add all the necessary variables to the form + // Add all the necessary variables to the form. $parser->set($this, CRM_Import_Parser::MODE_IMPORT); - // check if there is any error occured + // Check if there is any error occurred. $errorStack = CRM_Core_Error::singleton(); $errors = $errorStack->getErrors(); diff --git a/CRM/Contribute/Import/Parser.php b/CRM/Contribute/Import/Parser.php index 097cc8c3f9..e55a563ff4 100644 --- a/CRM/Contribute/Import/Parser.php +++ b/CRM/Contribute/Import/Parser.php @@ -501,8 +501,6 @@ abstract class CRM_Contribute_Import_Parser extends CRM_Import_Parser { * @param CRM_Core_Session $store * * @param int $mode - * - * @return void */ public function set($store, $mode = self::MODE_SUMMARY) { $store->set('fileSize', $this->_fileSize); -- 2.25.1