added missing returns (fluent setter)

This commit is contained in:
Rastislav Brandobur 2023-09-11 10:58:11 +02:00
parent 7ea25bf9e1
commit 17733aa84a
2 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,8 @@ class DBClassName extends DBEnum
if ($record instanceof DataObject) {
$this->record = $record;
}
return $this;
}
public function getDefault()

View File

@ -68,5 +68,7 @@ class DBPrimaryKey extends DBInt
if ($record instanceof DataObject) {
$this->object = $record;
}
return $this;
}
}