From 7a6073fdd68fe2f04547083c34600562b05c24cc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 24 May 2014 19:21:00 +1200 Subject: [PATCH] comments & spelling --- CRM/Core/BAO/OptionValue.php | 3 +-- CRM/Core/Invoke.php | 1 - CRM/Core/Payment/AuthorizeNetIPN.php | 8 +++++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CRM/Core/BAO/OptionValue.php b/CRM/Core/BAO/OptionValue.php index 97d572c17e..99d99531bd 100644 --- a/CRM/Core/BAO/OptionValue.php +++ b/CRM/Core/BAO/OptionValue.php @@ -58,7 +58,6 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { $ids = array('optionValue' => $params['id']); } return CRM_Core_BAO_OptionValue::add($params, $ids); - ; } /** * Set default Parameters @@ -292,7 +291,7 @@ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { * @param Integer $optionValueId the option value id. * @param int $action the action describing whether prefix/suffix was UPDATED or DELETED * - * @return void + * @return bool */ static function updateRecords(&$optionValueId, $action) { //finding group name diff --git a/CRM/Core/Invoke.php b/CRM/Core/Invoke.php index 67d293a239..df509397c4 100644 --- a/CRM/Core/Invoke.php +++ b/CRM/Core/Invoke.php @@ -416,4 +416,3 @@ class CRM_Core_Invoke { CRM_Core_ManagedEntities::singleton(TRUE)->reconcile(); } } - diff --git a/CRM/Core/Payment/AuthorizeNetIPN.php b/CRM/Core/Payment/AuthorizeNetIPN.php index dcbff70044..c1c2d741c0 100644 --- a/CRM/Core/Payment/AuthorizeNetIPN.php +++ b/CRM/Core/Payment/AuthorizeNetIPN.php @@ -83,10 +83,12 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN { } /** - * @param $input - * @param $ids + * @param array $input + * @param array $ids * @param $objects * @param $first + * + * @return bool */ function recur(&$input, &$ids, &$objects, $first) { $recur = &$objects['contributionRecur']; @@ -179,7 +181,7 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN { // the recurring contribution has declined a payment or has failed // so we just fix the recurring contribution and not change any of - // the existing contribiutions + // the existing contributions // CRM-9036 return TRUE; } -- 2.25.1