mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
added missing returns (fluent setter)
This commit is contained in:
parent
7ea25bf9e1
commit
17733aa84a
@ -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