From 430c546a88d3e01242115137ca80aee6bffacd9d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 10 Jan 2023 10:59:36 +1300 Subject: [PATCH] Cleanup type hints and comments --- CRM/Contact/Import/Form/MapField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Contact/Import/Form/MapField.php b/CRM/Contact/Import/Form/MapField.php index 2e175d405f..cd55054ac4 100644 --- a/CRM/Contact/Import/Form/MapField.php +++ b/CRM/Contact/Import/Form/MapField.php @@ -473,11 +473,11 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { * * e.g ['first_name' => FALSE, 'email' => TRUE, 'street_address' => TRUE'] * - * @param bool $name + * @param string $name * * @return bool */ - private function isLocationTypeRequired(bool $name): bool { + private function isLocationTypeRequired(string $name): bool { if (!isset(Civi::$statics[__CLASS__]['location_fields'])) { Civi::$statics[__CLASS__]['location_fields'] = (new CRM_Contact_Import_Parser_Contact())->setUserJobID($this->getUserJobID())->getFieldsWhichSupportLocationTypes(); } -- 2.25.1