@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * Returns a <select> tag containing all the appropriate <option> tags |
| 60 | 60 | * |
| 61 | 61 | * @param array $properties |
| 62 | - * @return string |
|
| 62 | + * @return HTMLText |
|
| 63 | 63 | */ |
| 64 | 64 | public function Field($properties = array()) { |
| 65 | 65 | $properties = array_merge($properties, array( |
@@ -52,6 +52,7 @@ discard block |
||
| 52 | 52 | * Create a new UnsavedRelationList |
| 53 | 53 | * |
| 54 | 54 | * @param string $dataClass The DataObject class used in the relation |
| 55 | + * @param string $relationName |
|
| 55 | 56 | */ |
| 56 | 57 | public function __construct($baseClass, $relationName, $dataClass) { |
| 57 | 58 | $this->baseClass = $baseClass; |
@@ -144,7 +145,7 @@ discard block |
||
| 144 | 145 | * Add a number of items to the relation. |
| 145 | 146 | * |
| 146 | 147 | * @param array $items Items to add, as either DataObjects or IDs. |
| 147 | - * @return DataList |
|
| 148 | + * @return UnsavedRelationList |
|
| 148 | 149 | */ |
| 149 | 150 | public function addMany($items) { |
| 150 | 151 | foreach($items as $item) { |