From c082dc3bd1ee2be4382fa0767945a6b8bdb39a2a Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Sun, 13 Oct 2013 18:59:53 +1100 Subject: [PATCH] Correct some incorrect PHPDoc definitions. --- forms/FormField.php | 9 +++++---- model/DataObject.php | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/forms/FormField.php b/forms/FormField.php index c029fa037..8f0e3c7aa 100644 --- a/forms/FormField.php +++ b/forms/FormField.php @@ -139,10 +139,11 @@ class FormField extends RequestHandler { } /** - * Create a new field. - * @param name The internal field name, passed to forms. - * @param title The field label. - * @param value The value of the field. + * Creates a new field. + * + * @param string $name The internal field name, passed to forms. + * @param string $title The human-readable field label. + * @param mixed $value The value of the field. */ public function __construct($name, $title = null, $value = null) { $this->name = $name; diff --git a/model/DataObject.php b/model/DataObject.php index 87d7a0ca8..3f642a100 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -2781,7 +2781,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity * @param string|array $limit A limit expression to be inserted into the LIMIT clause. * @param string $containerClass The container class to return the results in. * - * @return mixed The objects matching the filter, in the class specified by $containerClass + * @return DataList */ public static function get($callerClass = null, $filter = "", $sort = "", $join = "", $limit = null, $containerClass = 'DataList') {