Completed
Pull Request — trunk (#541)
by Justin
21:06 queued 04:51
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
 	 *
203 203
 	 * @since  2.2.4
204 204
 	 *
205
-	 * @param  mixed    $value      The value of the field
205
+	 * @param  mixed    $values      The value of the field
206 206
 	 * @param  object   $object     The object from the response
207 207
 	 * @param  string   $field_name Name of field
208 208
 	 *
Please login to merge, or discard this patch.