From 5c92978d99bb5d77436671ebe17fb1c190a4dd1f Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 29 Nov 2016 15:47:00 -0800 Subject: [PATCH] CRM-19690 - CRM_Utils_Token::getAnonymousTokenDetails() - Add missing `static` This function is only called once, and it previously lacked test coverage, so the `static` warning previously snuck through. Fix it! --- CRM/Utils/Token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index b549e4aa9f1f..a474d93492bb 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -1310,7 +1310,7 @@ public static function getTokenDetails( * @return array * contactDetails with hooks swapped out */ - public function getAnonymousTokenDetails($contactIDs = array( + public static function getAnonymousTokenDetails($contactIDs = array( 0, ), $returnProperties = NULL,