Skip to content

Commit 8a60237

Browse files
authored
Add parens around ?? operator
1 parent 6ad740a commit 8a60237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CRM/Percentagepricesetfield/Form/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ private function saveSettings() {
178178
public function setDefaultValues() {
179179
$result = civicrm_api3('setting', 'get', array('return' => array_keys($this->_settings)));
180180
$domainID = CRM_Core_Config::domainID();
181-
$ret = $result['values'][$domainID] ?? NULL;
181+
$ret = ($result['values'][$domainID] ?? NULL);
182182
return $ret;
183183
}
184184

0 commit comments

Comments
 (0)