@@ -595,7 +595,7 @@ |
||
595 | 595 | * |
596 | 596 | * @param array $dirty Unsantized data for the widget. |
597 | 597 | * |
598 | - * @return array Santized data. |
|
598 | + * @return integer Santized data. |
|
599 | 599 | */ |
600 | 600 | public function sanitize_instance( $dirty ) { |
601 | 601 | $now = (int) current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested |
@@ -294,7 +294,7 @@ |
||
294 | 294 | /** |
295 | 295 | * Mock $wpdb->get_var() and make it return a certain value. |
296 | 296 | * |
297 | - * @param mixed $return_value Return value of the function. |
|
297 | + * @param integer $return_value Return value of the function. |
|
298 | 298 | * |
299 | 299 | * PHPUnit\Framework\MockObject\MockObject The mock object. |
300 | 300 | */ |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | * |
225 | 225 | * @param string $table Table name to validate. |
226 | 226 | * |
227 | - * @return mixed|string |
|
227 | + * @return string |
|
228 | 228 | * @throws Exception Throw an exception on validation failure. |
229 | 229 | */ |
230 | 230 | private function validate_table_name( $table ) { |
@@ -482,7 +482,7 @@ discard block |
||
482 | 482 | * @param int|null $range_to The end of the range. |
483 | 483 | * @param int|null $limit How many values to return. |
484 | 484 | * |
485 | - * @return array|object|void |
|
485 | + * @return boolean |
|
486 | 486 | * @throws Exception Throws an exception if validation fails on the internal function calls. |
487 | 487 | */ |
488 | 488 | public function get_range_edges( $range_from = null, $range_to = null, $limit = null ) { |
@@ -64,8 +64,8 @@ |
||
64 | 64 | * Get a single Meta Result. |
65 | 65 | * |
66 | 66 | * @param string $object_type post, comment, term, user. |
67 | - * @param null $id Object ID. |
|
68 | - * @param null $meta_key Meta Key. |
|
67 | + * @param integer $id Object ID. |
|
68 | + * @param string $meta_key Meta Key. |
|
69 | 69 | * |
70 | 70 | * @return mixed|null |
71 | 71 | */ |