Civi\Angular - Docblock improvements.
[civicrm-core.git] / CRM / Utils / Verp.php
index 9a2e2d6479ff021d3a7f335d70b81e213922f5f9..afe1a6849cd87a0df44303d355689449ce6eec0b 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * Class to handle encoding and decoding Variable Enveleope Return Path (VERP)
@@ -71,7 +71,6 @@ class CRM_Utils_Verp {
    *
    * @return string
    *   The VERP encoded address
-   * @static
    */
   public static function encode($sender, $recipient) {
     preg_match('/(.+)\@([^\@]+)$/', $sender, $match);
@@ -98,13 +97,12 @@ class CRM_Utils_Verp {
    *
    * @return array
    *   The tuple ($sender, $recipient)
-   * @static
    */
   public static function &verpdecode($address) {
     preg_match('/^(.+)-([^=]+)=([^\@]+)\@(.+)/', $address, $match);
 
-    $slocal  = $match[1];
-    $rlocal  = $match[2];
+    $slocal = $match[1];
+    $rlocal = $match[2];
     $rdomain = $match[3];
     $sdomain = $match[4];
 
@@ -115,4 +113,5 @@ class CRM_Utils_Verp {
 
     return array("$slocal@$sdomain", "$rlocal@$rdomain");
   }
+
 }