mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #3613 from spekulatius/patch-1
Update DataObject.php
This commit is contained in:
commit
437fc2fda7
@ -996,7 +996,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
* It is expected that you call validate() in your own application to test that an object is valid before
|
||||
* attempting a write, and respond appropriately if it isn't.
|
||||
*
|
||||
* @return A {@link ValidationResult} object
|
||||
* @see {@link ValidationResult}
|
||||
* @return ValidationResult
|
||||
*/
|
||||
protected function validate() {
|
||||
$result = ValidationResult::create();
|
||||
|
Loading…
x
Reference in New Issue
Block a user