mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10942 from tjbwsk/4.13
added missing returns (fluent setter)
This commit is contained in:
commit
95944448a3
@ -151,6 +151,8 @@ class DBClassName extends DBEnum
|
||||
if ($record instanceof DataObject) {
|
||||
$this->record = $record;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDefault()
|
||||
|
@ -68,5 +68,7 @@ class DBPrimaryKey extends DBInt
|
||||
if ($record instanceof DataObject) {
|
||||
$this->object = $record;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user