Completed
Push — master ( d19955...af891e )
by Sam
22s
created
forms/CompositeField.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -352,6 +352,7 @@
 block discarded – undo
352 352
 	 * the children collection. Doesn't work recursively.
353 353
 	 *
354 354
 	 * @param string|FormField
355
+	 * @param string $field
355 356
 	 * @return int Position in children collection (first position starts with 0). Returns FALSE if the field can't
356 357
 	 *             be found.
357 358
 	 */
Please login to merge, or discard this patch.
forms/SelectionGroup.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -152,6 +152,9 @@  discard block
 block discarded – undo
152 152
 		return $this->title;
153 153
 	}
154 154
 
155
+	/**
156
+	 * @param string $title
157
+	 */
155 158
 	function setTitle($title) {
156 159
 		$this->title = $title;
157 160
 		return $this;
@@ -161,6 +164,9 @@  discard block
 block discarded – undo
161 164
 		return $this->value;
162 165
 	}
163 166
 
167
+	/**
168
+	 * @param string $Value
169
+	 */
164 170
 	function setValue($Value) {
165 171
 		$this->value = $Value;
166 172
 		return $this;
Please login to merge, or discard this patch.
forms/FormField.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -760,7 +760,6 @@  discard block
 block discarded – undo
760 760
 	 * Set the field value.
761 761
 	 *
762 762
 	 * @param mixed $value
763
-	 * @param null|array|DataObject $data {@see Form::loadDataFrom}
764 763
 	 *
765 764
 	 * @return $this
766 765
 	 */
@@ -1184,7 +1183,7 @@  discard block
 block discarded – undo
1184 1183
 	/**
1185 1184
 	 * @param FormTransformation $transformation
1186 1185
 	 *
1187
-	 * @return mixed
1186
+	 * @return FormField
1188 1187
 	 */
1189 1188
 	public function transform(FormTransformation $transformation) {
1190 1189
 		return $transformation->transform($this);
@@ -1287,7 +1286,7 @@  discard block
 block discarded – undo
1287 1286
 	 * This function is used by the template processor. If you refer to a field as a $ variable, it
1288 1287
 	 * will return the $Field value.
1289 1288
 	 *
1290
-	 * @return string
1289
+	 * @return DBHTMLText
1291 1290
 	 */
1292 1291
 	public function forTemplate() {
1293 1292
 		return $this->Field();
@@ -1309,7 +1308,7 @@  discard block
 block discarded – undo
1309 1308
 	 *
1310 1309
 	 * @param FieldList $containerFieldList
1311 1310
 	 *
1312
-	 * @return FieldList
1311
+	 * @return FormField
1313 1312
 	 */
1314 1313
 	public function setContainerFieldList($containerFieldList) {
1315 1314
 		$this->containerFieldList = $containerFieldList;
Please login to merge, or discard this patch.