Merge pull request #6086 from Seb35/master
[civicrm-core.git] / CRM / Core / Payment / GoogleIPN.php
index 16c5d6633cf5e3eafb738dec24a35ddf4dd1b29b..dffaba07eab57302351f81ea70802ff28e845e44 100644 (file)
@@ -83,7 +83,7 @@ class CRM_Core_Payment_GoogleIPN extends CRM_Core_Payment_BaseIPN {
   }
 
   /**
-   * Constructor
+   * Constructor.
    *
    * @param string $mode
    *   The mode of operation: live or test.
@@ -224,8 +224,8 @@ class CRM_Core_Payment_GoogleIPN extends CRM_Core_Payment_BaseIPN {
     }
     else {
       /* Since trxn_id hasn't got any use here,
-             * lets make use of it by passing the eventID/membershipTypeID to next level.
-             * And change trxn_id to google-order-number before finishing db update */
+       * lets make use of it by passing the eventID/membershipTypeID to next level.
+       * And change trxn_id to google-order-number before finishing db update */
 
       if (!empty($ids['event'])) {
         $contribution->trxn_id = $ids['event'] . CRM_Core_DAO::VALUE_SEPARATOR . $ids['participant'];
@@ -516,6 +516,8 @@ WHERE  contribution_recur_id = {$ids['contributionRecur']}
   /**
    * This method is handles the response that will be invoked (from extern/googleNotify) every time
    * a notification or request is sent by the Google Server.
+   *
+   * @param string $xml_response
    */
   public static function main($xml_response) {
     require_once 'Google/library/googleresponse.php';
@@ -700,4 +702,5 @@ WHERE  contribution_recur_id = {$ids['contributionRecur']}
     }
     return $vars;
   }
+
 }