Merge pull request #10942 from tjbwsk/4.13

added missing returns (fluent setter)
This commit is contained in:
Guy Sartorelli 2023-09-13 09:57:32 +12:00 committed by GitHub
commit 95944448a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
}