CRM-15735 fix - Update payment status for pay-later membership renewal ignores Receiv...
[civicrm-core.git] / CRM / Core / Key.php
index 6f8aaabac1d72f232060ef1e76b460a14140570d..5978833ca7bf9f67df5eb0bfbd972319f76c57d0 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        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -42,7 +42,6 @@ class CRM_Core_Key {
    *
    * @return string
    *   private key for this session
-   * @static
    */
   public static function privateKey() {
     if (!self::$_key) {
@@ -81,7 +80,6 @@ class CRM_Core_Key {
    *
    * @return string
    *   valid formID
-   * @static
    */
   public static function get($name, $addSequence = FALSE) {
     $privateKey = self::privateKey();
@@ -105,7 +103,6 @@ class CRM_Core_Key {
    *
    * @return string
    *   if valid, else null
-   * @static
    */
   public static function validate($key, $name, $addSequence = FALSE) {
     if (!is_string($key)) {
@@ -156,4 +153,5 @@ class CRM_Core_Key {
     // ensure that hash is a 32 digit hex number
     return preg_match('#[0-9a-f]{32}#i', $hash) ? TRUE : FALSE;
   }
+
 }