Completed
Pull Request — trunk (#541)
by Justin
06:21
created
includes/CMB2_REST_Controller.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,7 +142,6 @@  discard block
 block discarded – undo
142 142
 	 *
143 143
 	 * @since 2.2.4
144 144
 	 *
145
-	 * @param  mixed $data
146 145
 	 * @return array $data
147 146
 	 */
148 147
 	public function prepare_item( $post ) {
@@ -155,7 +154,7 @@  discard block
 block discarded – undo
155 154
 	 * @since  2.2.4
156 155
 	 *
157 156
 	 * @param  mixed $cb Callable function/method.
158
-	 * @return mixed     Results of output buffer after calling function/method.
157
+	 * @return string     Results of output buffer after calling function/method.
159 158
 	 */
160 159
 	public function get_cb_results( $cb ) {
161 160
 		$args = func_get_args();
@@ -171,7 +170,6 @@  discard block
 block discarded – undo
171 170
 	 *
172 171
 	 * @since 2.2.4
173 172
 	 *
174
-	 * @param  mixed            $item     WordPress representation of the item.
175 173
 	 * @param  WP_REST_Request  $request  Request object.
176 174
 	 * @return WP_REST_Response $response
177 175
 	 */
Please login to merge, or discard this patch.
includes/CMB2_REST.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -186,6 +186,7 @@  discard block
 block discarded – undo
186 186
 	 * @param string|array $object_types Object(s) the field is being registered
187 187
 	 *                                   to, "post"|"term"|"comment" etc.
188 188
 	 * @param string $object_types       Canonical object type for callbacks.
189
+	 * @param string $object_type
189 190
 	 *
190 191
 	 * @return void
191 192
 	 */
@@ -383,7 +384,7 @@  discard block
 block discarded – undo
383 384
 	 *
384 385
 	 * @since  2.2.4
385 386
 	 *
386
-	 * @param  mixed           $value       The value of the field
387
+	 * @param  mixed           $values       The value of the field
387 388
 	 * @param  object          $object      The object from the response
388 389
 	 * @param  string          $field_name  Name of field
389 390
 	 * @param  WP_REST_Request $request     Current request
@@ -402,7 +403,7 @@  discard block
 block discarded – undo
402 403
 	 *
403 404
 	 * @since  2.2.4
404 405
 	 *
405
-	 * @param  mixed           $value       The value of the field
406
+	 * @param  mixed           $values       The value of the field
406 407
 	 * @param  object          $object      The object from the response
407 408
 	 * @param  string          $field_name  Name of field
408 409
 	 * @param  WP_REST_Request $request     Current request
@@ -421,7 +422,7 @@  discard block
 block discarded – undo
421 422
 	 *
422 423
 	 * @since  2.2.4
423 424
 	 *
424
-	 * @param  mixed           $value       The value of the field
425
+	 * @param  mixed           $values       The value of the field
425 426
 	 * @param  object          $object      The object from the response
426 427
 	 * @param  string          $field_name  Name of field
427 428
 	 * @param  WP_REST_Request $request     Current request
@@ -440,7 +441,7 @@  discard block
 block discarded – undo
440 441
 	 *
441 442
 	 * @since  2.2.4
442 443
 	 *
443
-	 * @param  mixed           $value       The value of the field
444
+	 * @param  mixed           $values       The value of the field
444 445
 	 * @param  object          $object      The object from the response
445 446
 	 * @param  string          $field_name  Name of field
446 447
 	 * @param  WP_REST_Request $request     Current request
@@ -459,7 +460,7 @@  discard block
 block discarded – undo
459 460
 	 *
460 461
 	 * @since  2.2.4
461 462
 	 *
462
-	 * @param  mixed           $value            The value of the field
463
+	 * @param  mixed           $values            The value of the field
463 464
 	 * @param  object          $object           The object from the response
464 465
 	 * @param  WP_REST_Request $request          Current request
465 466
 	 * @param  string          $object_type      The request object type
Please login to merge, or discard this patch.