APIv4 - Support pseudoconstant lookups
[civicrm-core.git] / Civi / Api4 / Generic / AbstractUpdateAction.php
index 93940e1976ff717ac011c72a0fbc4c276679800c..aa1aa0d46cb53f7596bb3d73fa54a10bc2b0c20b 100644 (file)
@@ -57,7 +57,7 @@ abstract class AbstractUpdateAction extends AbstractBatchAction {
    * @return mixed|null
    */
   public function getValue(string $fieldName) {
-    return isset($this->values[$fieldName]) ? $this->values[$fieldName] : NULL;
+    return $this->values[$fieldName] ?? NULL;
   }
 
   /**