(NFC) Bring up API folder to style of future coder checker
[civicrm-core.git] / api / v3 / Domain.php
index 552121fbe13c51a72498796528ad5a138f80cf2b..971bf86b3b3f86c6173eecf280aac11204e99d25 100644 (file)
@@ -76,16 +76,9 @@ function civicrm_api3_domain_get($params) {
       if (!empty($values['location']['phone'])) {
         $domain['domain_phone'] = [
           'phone_type' => CRM_Core_PseudoConstant::getLabel('CRM_Core_BAO_Phone', 'phone_type_id',
-            CRM_Utils_Array::value(
-              'phone_type_id',
-              $values['location']['phone'][1]
-            )
-          ),
-          'phone' => CRM_Utils_Array::value(
-            'phone',
-            $values['location']['phone'][1]
-          ),
-          ];
+            CRM_Utils_Array::value('phone_type_id', $values['location']['phone'][1])),
+          'phone' => CRM_Utils_Array::value('phone', $values['location']['phone'][1]),
+        ];
       }
 
       if (!empty($values['location']['address'])) {