mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-04-13 04:49:38 +02:00
Compare commits
No commits in common. "71a9f12b02569161f83f5d7725a11e2ec9eed676" and "fd0c8cbbcd79309282823caffdd5c089772ff15e" have entirely different histories.
71a9f12b02
...
fd0c8cbbcd
1 changed files with 2 additions and 3 deletions
|
|
@ -15,8 +15,7 @@
|
|||
|
||||
abstract public int|string $id { get; }
|
||||
|
||||
public readonly Database $db;
|
||||
|
||||
protected readonly Database $db;
|
||||
private bool $_resolved = false;
|
||||
private bool $_isset;
|
||||
private ?array $_row;
|
||||
|
|
@ -109,6 +108,6 @@
|
|||
->where($this->where)
|
||||
->update([$key => $value]);
|
||||
|
||||
return func_num_args() === 2 ? $value : $return;
|
||||
return $return ?? $value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue