Completed
Pull Request — master (#4568)
by Damian
11:35
created
forms/ListboxField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
model/UnsavedRelationList.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,6 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.