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') {