From 925157c59dae3e74033dac4b0778eb18939ea52c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 4 Apr 2015 19:37:42 +1300 Subject: [PATCH] phpcs required fix - return false rather than void --- CRM/Price/BAO/PriceSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index 06cafe44ac..6cd8379ee6 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -1005,7 +1005,7 @@ WHERE id = %1"; */ public static function checkCurrentMembership(&$options, $userid) { if (!$userid || empty($options)) { - return; + return FALSE; } static $_contact_memberships = array(); $checkLifetime = FALSE; -- 2.25.1