Compare commits

..

No commits in common. "71a9f12b02569161f83f5d7725a11e2ec9eed676" and "fd0c8cbbcd79309282823caffdd5c089772ff15e" have entirely different histories.

View file

@ -15,8 +15,7 @@
abstract public int|string $id { get; } abstract public int|string $id { get; }
public readonly Database $db; protected readonly Database $db;
private bool $_resolved = false; private bool $_resolved = false;
private bool $_isset; private bool $_isset;
private ?array $_row; private ?array $_row;
@ -109,6 +108,6 @@
->where($this->where) ->where($this->where)
->update([$key => $value]); ->update([$key => $value]);
return func_num_args() === 2 ? $value : $return; return $return ?? $value;
} }
} }