Completed
Pull Request — 3.4 (#6091)
by Robbie
08:47
created
forms/UploadField.php 1 patch
Doc Comments   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -202,7 +202,6 @@  discard block
 block discarded – undo
202 202
 	 * @param string $title The field label.
203 203
 	 * @param SS_List $items If no items are defined, the field will try to auto-detect an existing relation on
204 204
 	 *                       @link $record}, with the same name as the field name.
205
-	 * @param Form $form Reference to the container form
206 205
 	 */
207 206
 	public function __construct($name, $title = null, SS_List $items = null) {
208 207
 
@@ -1052,7 +1051,7 @@  discard block
 block discarded – undo
1052 1051
 
1053 1052
 	/**
1054 1053
 	 * @param SS_HTTPRequest $request
1055
-	 * @return UploadField_ItemHandler
1054
+	 * @return UploadField_SelectHandler
1056 1055
 	 */
1057 1056
 	public function handleSelect(SS_HTTPRequest $request) {
1058 1057
 		if(!$this->canAttachExisting()) return $this->httpError(403);
@@ -1341,7 +1340,7 @@  discard block
 block discarded – undo
1341 1340
 
1342 1341
 	/**
1343 1342
 	 * @param UploadFIeld $parent
1344
-	 * @param int $item
1343
+	 * @param int $itemID
1345 1344
 	 */
1346 1345
 	public function __construct($parent, $itemID) {
1347 1346
 		$this->parent = $parent;
@@ -1410,7 +1409,7 @@  discard block
 block discarded – undo
1410 1409
 	 * Action to handle editing of a single file
1411 1410
 	 *
1412 1411
 	 * @param SS_HTTPRequest $request
1413
-	 * @return ViewableData_Customised
1412
+	 * @return HTMLText
1414 1413
 	 */
1415 1414
 	public function edit(SS_HTTPRequest $request) {
1416 1415
 		// Check form field state
@@ -1432,7 +1431,7 @@  discard block
 block discarded – undo
1432 1431
 	/**
1433 1432
 	 * In place to handle inline UploadForm fields with Form validation errors
1434 1433
 	 *
1435
-	 * @return ViewableData_Customised
1434
+	 * @return HTMLText
1436 1435
 	 */
1437 1436
 	public function redirect()
1438 1437
 	{
Please login to merge, or discard this patch.