comments & spelling
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 07:21:00 +0000 (19:21 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 24 May 2014 09:33:16 +0000 (21:33 +1200)
CRM/Core/BAO/OptionValue.php
CRM/Core/Invoke.php
CRM/Core/Payment/AuthorizeNetIPN.php

index 97d572c17eab53e3cd8d841e35875edb729373e2..99d99531bd85c334fde26f823b9a3a1e49c35d08 100644 (file)
@@ -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
index 67d293a2393815184ce0c10e888be2efee5c5b66..df509397c4928952881d436cc4cbc0509a8cee05 100644 (file)
@@ -416,4 +416,3 @@ class CRM_Core_Invoke {
     CRM_Core_ManagedEntities::singleton(TRUE)->reconcile();
   }
 }
-
index dcbff70044744b219ba39e31c06f602d9151f52d..c1c2d741c0008847bdbc9f38368c0bfd52eea56d 100644 (file)
@@ -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;
     }