From 0a9f81e82d05655dda417e0afc24ff59c1c25007 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 29 Apr 2014 07:39:04 -0700 Subject: [PATCH] minor code tidyups --- CRM/Core/SelectValues.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/SelectValues.php b/CRM/Core/SelectValues.php index d0701ebeaf..1a21060f58 100644 --- a/CRM/Core/SelectValues.php +++ b/CRM/Core/SelectValues.php @@ -41,7 +41,7 @@ class CRM_Core_SelectValues { * different types of phones * @static */ - static function &phoneType() { + static function phoneType() { static $phoneType = NULL; if (!$phoneType) { $phoneType = array( @@ -688,7 +688,7 @@ class CRM_Core_SelectValues { // might as well get all the hook tokens to $hookTokens = array(); CRM_Utils_Hook::tokens($hookTokens); - foreach ($hookTokens as $category => $tokenValues) { + foreach ($hookTokens as $tokenValues) { foreach ($tokenValues as $key => $value) { if (is_numeric($key)) { $key = $value; -- 2.25.1