From 14a1086b032f78b959e0a22d6ddf1faea0b7ec27 Mon Sep 17 00:00:00 2001 From: spekulatius Date: Sun, 9 Nov 2014 21:19:39 +1300 Subject: [PATCH] Update DataObject.php Documentation fix: Table at http://api.silverstripe.org/3.1/class-DataObject.html is displaying the data wrong. Current it says "protected A" instead of "protected ValidationResult" as it should be. --- model/DataObject.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model/DataObject.php b/model/DataObject.php index 646e6732c..e5331ac56 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -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();