@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | * @access private |
326 | 326 | * |
327 | 327 | * @param string $status Comment status. |
328 | - * @return string|bool New comment_approved value, false if the status doesn't affect it. |
|
328 | + * @return string|false New comment_approved value, false if the status doesn't affect it. |
|
329 | 329 | */ |
330 | 330 | private function comment_status_to_approval_value( $status ) { |
331 | 331 | switch ( $status ) { |
@@ -1342,7 +1342,7 @@ discard block |
||
1342 | 1342 | * Translate the object_type to the table name. |
1343 | 1343 | * |
1344 | 1344 | * @param string $object_type Object Type. |
1345 | - * @return bool|string |
|
1345 | + * @return false|string |
|
1346 | 1346 | */ |
1347 | 1347 | private function translate_object_type( $object_type ) { |
1348 | 1348 |
@@ -189,9 +189,9 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Verify provided table name is valid for checksum processing. |
191 | 191 | * |
192 | - * @param $table |
|
192 | + * @param string $table |
|
193 | 193 | * |
194 | - * @return mixed|string |
|
194 | + * @return string |
|
195 | 195 | * @throws Exception |
196 | 196 | */ |
197 | 197 | private function validate_table_name( $table ) { |
@@ -380,9 +380,9 @@ discard block |
||
380 | 380 | /** |
381 | 381 | * Obtain the min-max values (edges) of the range. |
382 | 382 | * |
383 | - * @param null $range_from |
|
383 | + * @param integer $range_from |
|
384 | 384 | * @param null $range_to |
385 | - * @param null $limit |
|
385 | + * @param integer $limit |
|
386 | 386 | * |
387 | 387 | * @return array|object|void |
388 | 388 | * @throws Exception |