Completed
Pull Request — trunk (#541)
by Justin
06:33
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   +7 added lines, -6 removed lines patch added patch discarded remove patch
@@ -197,6 +197,7 @@  discard block
 block discarded – undo
197 197
 	 * @param string|array $object_types Object(s) the field is being registered
198 198
 	 *                                   to, "post"|"term"|"comment" etc.
199 199
 	 * @param string $object_types       Canonical object type for callbacks.
200
+	 * @param string $object_type
200 201
 	 *
201 202
 	 * @return void
202 203
 	 */
@@ -391,7 +392,7 @@  discard block
 block discarded – undo
391 392
 	 *
392 393
 	 * @since  2.2.4
393 394
 	 *
394
-	 * @param  mixed           $value       The value of the field
395
+	 * @param  mixed           $values       The value of the field
395 396
 	 * @param  object          $object      The object from the response
396 397
 	 * @param  string          $field_name  Name of field
397 398
 	 * @param  WP_REST_Request $request     Current request
@@ -410,7 +411,7 @@  discard block
 block discarded – undo
410 411
 	 *
411 412
 	 * @since  2.2.4
412 413
 	 *
413
-	 * @param  mixed           $value       The value of the field
414
+	 * @param  mixed           $values       The value of the field
414 415
 	 * @param  object          $object      The object from the response
415 416
 	 * @param  string          $field_name  Name of field
416 417
 	 * @param  WP_REST_Request $request     Current request
@@ -429,7 +430,7 @@  discard block
 block discarded – undo
429 430
 	 *
430 431
 	 * @since  2.2.4
431 432
 	 *
432
-	 * @param  mixed           $value       The value of the field
433
+	 * @param  mixed           $values       The value of the field
433 434
 	 * @param  object          $object      The object from the response
434 435
 	 * @param  string          $field_name  Name of field
435 436
 	 * @param  WP_REST_Request $request     Current request
@@ -448,7 +449,7 @@  discard block
 block discarded – undo
448 449
 	 *
449 450
 	 * @since  2.2.4
450 451
 	 *
451
-	 * @param  mixed           $value       The value of the field
452
+	 * @param  mixed           $values       The value of the field
452 453
 	 * @param  object          $object      The object from the response
453 454
 	 * @param  string          $field_name  Name of field
454 455
 	 * @param  WP_REST_Request $request     Current request
@@ -467,7 +468,7 @@  discard block
 block discarded – undo
467 468
 	 *
468 469
 	 * @since  2.2.4
469 470
 	 *
470
-	 * @param  mixed           $value            The value of the field
471
+	 * @param  mixed           $values            The value of the field
471 472
 	 * @param  object          $object           The object from the response
472 473
 	 * @param  WP_REST_Request $request          Current request
473 474
 	 * @param  string          $object_type      The request object type
@@ -665,7 +666,7 @@  discard block
 block discarded – undo
665 666
 	 * Retrieve all CMB2_REST instances from the registry.
666 667
 	 *
667 668
 	 * @since  2.2.4
668
-	 * @return CMB2[] Array of all registered CMB2_REST instances.
669
+	 * @return CMB2_REST[] Array of all registered CMB2_REST instances.
669 670
 	 */
670 671
 	public static function get_all() {
671 672
 		return self::$boxes;
Please login to merge, or discard this patch.