mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DOCS Update PHP doc on latestPublished method (#5905)
* Update doc comment on method to be more accurate
This commit is contained in:
parent
0ab33b205d
commit
0c7264eca6
@ -896,9 +896,9 @@ class Versioned extends DataExtension implements TemplateGlobalProvider {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the latest published version of this object.
|
||||
* Is the latest version of the object published?
|
||||
*
|
||||
* @return DataObject
|
||||
* @return bool
|
||||
*/
|
||||
public function latestPublished() {
|
||||
// Get the root data object class - this will have the version field
|
||||
|
Loading…
x
Reference in New Issue
Block a user