From 9a208ac336b9019b256c0a921a56adf45e7879fe Mon Sep 17 00:00:00 2001 From: Omar abu hussein Date: Thu, 15 Feb 2018 13:56:58 +0000 Subject: [PATCH] CRM-21769: Fixing code style erros --- CRM/Core/BAO/Address.php | 2 +- tests/phpunit/CRM/Core/BAO/AddressTest.php | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/CRM/Core/BAO/Address.php b/CRM/Core/BAO/Address.php index a8c2ae4e8a..ff706dfd3d 100644 --- a/CRM/Core/BAO/Address.php +++ b/CRM/Core/BAO/Address.php @@ -877,7 +877,7 @@ ORDER BY civicrm_address.is_primary DESC, civicrm_address.location_type_id DESC, * @param string $locale * The locale to be checked * - * @return boolean + * @return bool */ public static function isSupportedParsingLocale($locale = NULL) { if (!$locale) { diff --git a/tests/phpunit/CRM/Core/BAO/AddressTest.php b/tests/phpunit/CRM/Core/BAO/AddressTest.php index 42ac7a7729..05a7b3a39d 100644 --- a/tests/phpunit/CRM/Core/BAO/AddressTest.php +++ b/tests/phpunit/CRM/Core/BAO/AddressTest.php @@ -400,8 +400,7 @@ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase { } - public function supportedAddressParsingLocales() - { + public function supportedAddressParsingLocales() { return array( 'en_US', 'en_CA', @@ -426,8 +425,7 @@ class CRM_Core_BAO_AddressTest extends CiviUnitTestCase { $this->assertFalse($isNotSupported); } - public function sampleOFUnsupportedAddressParsingLocales() - { + public function sampleOFUnsupportedAddressParsingLocales() { return array( 'en_GB', 'af_ZA', -- 2.25.1