BAO_Contact - Remove CRM_Utils_Array::value and other unnecessary code
[civicrm-core.git] / CRM / Core / Region.php
index 4fc96a074e89ee35fd91f27fb6466a84d72891da..b1809af63629f209e129148ec10e6e2f5659782d 100644 (file)
@@ -191,7 +191,7 @@ class CRM_Core_Region {
           break;
 
         case 'callback':
-          $args = isset($snippet['arguments']) ? $snippet['arguments'] : array(&$snippet, &$html);
+          $args = $snippet['arguments'] ?? array(&$snippet, &$html);
           $html .= call_user_func_array($snippet['callback'], $args);
           break;