Completed
Pull Request — trunk (#541)
by Justin
15:40
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.