code beautifier
This commit is contained in:
@@ -8,11 +8,11 @@ class Model
|
||||
protected array $updated;
|
||||
protected string $table;
|
||||
protected string $connection = "";
|
||||
protected string $pk;
|
||||
protected string $pk;
|
||||
private bool $new;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
{
|
||||
$this->new = true;
|
||||
$this->values = array();
|
||||
$this->updated = array();
|
||||
@@ -62,7 +62,7 @@ class Model
|
||||
}
|
||||
|
||||
public function save(): bool
|
||||
{
|
||||
{
|
||||
$ret = false;
|
||||
$qb = $this->newQueryBuilder();
|
||||
if ($this->new) {
|
||||
|
||||
Reference in New Issue
Block a user