From: Eileen McNaughton Date: Mon, 2 Feb 2015 09:21:33 +0000 (+1300) Subject: more comment fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68ef454c1b4df2be6fec472911e17242e1e69835;p=civicrm-core.git more comment fixes --- 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);