Completed
Pull Request — trunk (#541)
by Justin
07:19
created
includes/CMB2_Field.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -735,7 +735,7 @@  discard block
 block discarded – undo
735 735
 	 * Return a formatted timestamp for a field
736 736
 	 * @since  2.0.0
737 737
 	 * @param  string $format     Either date_format or time_format
738
-	 * @param  string $meta_value Optional meta value to check
738
+	 * @param  integer $meta_value Optional meta value to check
739 739
 	 * @return string             Formatted date
740 740
 	 */
741 741
 	public function get_timestamp_format( $format = 'date_format', $meta_value = 0 ) {
@@ -1007,7 +1007,7 @@  discard block
 block discarded – undo
1007 1007
 	 * Retrieve options args. Calls options_cb if it exists.
1008 1008
 	 * @since  2.0.0
1009 1009
 	 * @param  string  $key Specific option to retrieve
1010
-	 * @return array        Array of options
1010
+	 * @return string        Array of options
1011 1011
 	 */
1012 1012
 	public function options( $key = '' ) {
1013 1013
 		if ( ! empty( $this->field_options ) ) {
Please login to merge, or discard this patch.
includes/CMB2_Field_Display.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -113,8 +113,6 @@
 block discarded – undo
113 113
 	 * Catchall method if field's 'display_cb' is NOT defined, or field type does
114 114
 	 * not have a corresponding display method
115 115
 	 * @since 2.2.2
116
-	 * @param  string $method    Non-existent method name
117
-	 * @param  array  $arguments All arguments passed to the method
118 116
 	 */
119 117
 	public function display() {
120 118
 		// If repeatable
Please login to merge, or discard this patch.
includes/CMB2_Base.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -413,7 +413,6 @@
 block discarded – undo
413 413
 	 * Allows overloading the object with methods... Whooaaa oooh it's magic, y'knoooow.
414 414
 	 * @since 1.0.0
415 415
 	 * @param string $method Non-existent method.
416
-	 * @param array  $arguments All arguments passed to the method
417 416
 	 */
418 417
 	public function __call( $method, $args ) {
419 418
 		$object_class = strtolower( get_class( $this ) );
Please login to merge, or discard this patch.
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.