From: Eileen McNaughton Date: Sat, 4 Apr 2015 06:37:42 +0000 (+1300) Subject: phpcs required fix - return false rather than void X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=925157c59dae3e74033dac4b0778eb18939ea52c;p=civicrm-core.git phpcs required fix - return false rather than void --- 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;