Completed
Push — master ( 4647f7...7bc7ee )
by Scott Kingsley
04:50
created
includes/class-wp-fields-api-field.php 1 patch
Doc Comments   +3 added lines, -7 removed lines patch added patch discarded remove patch
@@ -133,10 +133,8 @@  discard block
 block discarded – undo
133 133
 	 * Check user capabilities and theme supports, and then save
134 134
 	 * the value of the field.
135 135
 	 *
136
-	 * @param mixed $value   The value to save.
137
-	 * @param int   $item_id The Item ID.
138 136
 	 *
139
-	 * @return false|mixed False if cap check fails or value isn't set.
137
+	 * @return null|boolean False if cap check fails or value isn't set.
140 138
 	 */
141 139
 	public function save() {
142 140
 
@@ -188,9 +186,8 @@  discard block
 block discarded – undo
188 186
 	 * Save the value of the field, using the related API.
189 187
 	 *
190 188
 	 * @param mixed $value The value to update.
191
-	 * @param int $item_id Item ID.
192 189
 	 *
193
-	 * @return mixed The result of saving the value.
190
+	 * @return null|boolean The result of saving the value.
194 191
 	 */
195 192
 	protected function update( $value ) {
196 193
 
@@ -325,7 +322,6 @@  discard block
 block discarded – undo
325 322
 	/**
326 323
 	 * Fetch the value of the field.
327 324
 	 *
328
-	 * @param int $item_id (optional) The Item ID.
329 325
 	 *
330 326
 	 * @return mixed The value.
331 327
 	 */
@@ -582,7 +578,7 @@  discard block
 block discarded – undo
582 578
 	 *
583 579
 	 * @param       $root
584 580
 	 * @param       $keys
585
-	 * @param mixed $default A default value which is used as a fallback. Default is null.
581
+	 * @param string $default A default value which is used as a fallback. Default is null.
586 582
 	 *
587 583
 	 * @return mixed The requested value or the default value.
588 584
 	 */
Please login to merge, or discard this patch.