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