Completed
Pull Request — trunk (#541)
by Justin
20:13 queued 05:52
created
includes/CMB2_Boxes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	 * Retrieve all CMB2 instances that have the specified property set.
75 75
 	 * @since  2.2.0
76 76
 	 * @param  string $property Property name.
77
-	 * @param  mixed  $ignore   The value to ignore.
77
+	 * @param  boolean  $ignore   The value to ignore.
78 78
 	 * @return CMB2[]           Array of matching cmb2 instances.
79 79
 	 */
80 80
 	public static function get_by_property( $property, $ignore = null ) {
Please login to merge, or discard this patch.
includes/CMB2_REST_Access.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	/**
153 153
 	 * Handler for updating custom field data.
154 154
 	 * @since  2.2.0
155
-	 * @param  mixed    $value    The value of the field
155
+	 * @param  mixed    $values    The value of the field
156 156
 	 * @param  object   $object   The object from the response
157 157
 	 * @param  string   $field_id Name of field
158 158
 	 * @return bool|int
@@ -233,6 +233,9 @@  discard block
 block discarded – undo
233 233
 		return $protected;
234 234
 	}
235 235
 
236
+	/**
237
+	 * @param string $field_id
238
+	 */
236 239
 	public function field_can_update( $field_id ) {
237 240
 
238 241
 		$field        = $this->cmb->get_field( $field_id );
Please login to merge, or discard this patch.
includes/CMB2_REST_Endpoints.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -384,7 +384,6 @@  discard block
 block discarded – undo
384 384
 	 *
385 385
 	 * @since 2.2.0
386 386
 	 *
387
-	 * @param  mixed $data
388 387
 	 * @return array $data
389 388
 	 */
390 389
 	public function prepare_item( $post ) {
@@ -397,7 +396,7 @@  discard block
 block discarded – undo
397 396
 	 * @since  2.2.0
398 397
 	 *
399 398
 	 * @param  mixed $cb Callable function/method.
400
-	 * @return mixed     Results of output buffer after calling function/method.
399
+	 * @return string     Results of output buffer after calling function/method.
401 400
 	 */
402 401
 	public function get_cb_results( $cb ) {
403 402
 		$args = func_get_args();
Please login to merge, or discard this patch.