Permalink
Browse files

MINOR Changed inline documentation to be correct

  • Loading branch information...
1 parent 85cdb37 commit 7d90aa3c10509b1bd3a6dac2b9a35a564d251c39 @stojg stojg committed Sep 27, 2011
Showing with 7 additions and 7 deletions.
  1. +7 −7 forms/Datagrid.php
View
@@ -13,14 +13,14 @@ class Datagrid extends FormField {
protected $datasource = null;
/**
- * 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.
- * @param form Reference to the container form
- * @param maxLength The Maximum length of the attribute
+ * Creates a new datagrid field
+ *
+ * @param string $name
+ * @param string $title
+ * @param SS_list $source
+ * @param Form $form
*/
- function __construct($name, $title = null, SS_list $source = null, $form = null) {
+ function __construct($name, $title = null, SS_list $source = null, Form $form = null) {
parent::__construct($name, $title, null, $form);
}

0 comments on commit 7d90aa3

Please sign in to comment.