Merge pull request #3613 from spekulatius/patch-1

Update DataObject.php
This commit is contained in:
Daniel Hensby 2014-11-09 09:34:07 +00:00
commit 437fc2fda7

View File

@ -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 * 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. * attempting a write, and respond appropriately if it isn't.
* *
* @return A {@link ValidationResult} object * @see {@link ValidationResult}
* @return ValidationResult
*/ */
protected function validate() { protected function validate() {
$result = ValidationResult::create(); $result = ValidationResult::create();