Completed
Push — trunk ( dd9380...cc9fce )
by Justin
32:47 queued 17:41
created
includes/CMB2.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -408,6 +408,7 @@  discard block
 block discarded – undo
408 408
 	 * Add a hidden field to the list of hidden fields to be rendered later
409 409
 	 * @since 2.0.0
410 410
 	 * @param array  $field_args Array of field arguments to be passed to CMB2_Field
411
+	 * @param CMB2_Field $field_group
411 412
 	 */
412 413
 	public function add_hidden_field( $field_args, $field_group = null ) {
413 414
 		if ( isset( $field_args['field_args'] ) ) {
@@ -851,7 +852,7 @@  discard block
 block discarded – undo
851 852
 	 * @param  mixed  $field_id     Field (or group field) ID
852 853
 	 * @param  mixed  $field_args   Array of field arguments
853 854
 	 * @param  mixed  $sub_field_id Sub field ID (if field_group exists)
854
-	 * @param  mixed  $field_group  If a sub-field, will be the parent group CMB2_Field object
855
+	 * @param  CMB2_Field|null  $field_group  If a sub-field, will be the parent group CMB2_Field object
855 856
 	 * @return array                Array of CMB2_Field arguments
856 857
 	 */
857 858
 	public function get_field_args( $field_id, $field_args, $sub_field_id, $field_group ) {
@@ -938,7 +939,7 @@  discard block
 block discarded – undo
938 939
 	 * @since  2.0.0
939 940
 	 * @param  array  $field           Metabox field config array
940 941
 	 * @param  int    $position        (optional) Position of metabox. 1 for first, etc
941
-	 * @return mixed                   Field id or false
942
+	 * @return string                   Field id or false
942 943
 	 */
943 944
 	public function add_field( array $field, $position = 0 ) {
944 945
 		if ( ! is_array( $field ) || ! array_key_exists( 'id', $field ) ) {
Please login to merge, or discard this patch.
includes/CMB2_Ajax.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	/**
31 31
 	 * Get the singleton instance of this class
32 32
 	 * @since 2.2.2
33
-	 * @return object
33
+	 * @return CMB2_Ajax
34 34
 	 */
35 35
 	public static function get_instance() {
36 36
 		if ( ! ( self::$instance instanceof self ) ) {
Please login to merge, or discard this patch.
includes/CMB2_Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
 	 * Get object property and optionally set a fallback
160 160
 	 * @since  2.0.0
161 161
 	 * @param  string $property Metabox config property to retrieve
162
-	 * @param  mixed  $fallback Fallback value to set if no value found
162
+	 * @param  boolean|null  $fallback Fallback value to set if no value found
163 163
 	 * @return mixed            Metabox config property value or false
164 164
 	 */
165 165
 	public function prop( $property, $fallback = null ) {
Please login to merge, or discard this patch.