private $dao;
/**
- * @var array<Frame> stack of SQL transactions/savepoints
+ * Stack of SQL transactions/savepoints.
+ *
+ * @var \Civi\Core\Transaction\Frame[]
*/
private $frames = [];
* @return \Civi\Core\Transaction\Frame
*/
public function getFrame() {
- return isset($this->frames[0]) ? $this->frames[0] : NULL;
+ return $this->frames[0] ?? NULL;
}
/**