From ecd95cd1bd66d1b8a8c6628df6083aac47c9022f 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 a23e9f3313..26209d40e1 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -1314,7 +1314,7 @@ class CRM_Utils_Token { * @return array * contactDetails with hooks swapped out */ - public function getAnonymousTokenDetails($contactIDs = array( + public static function getAnonymousTokenDetails($contactIDs = array( 0, ), $returnProperties = NULL, -- 2.25.1