@@ -295,7 +295,7 @@ |
||
295 | 295 | * @access private |
296 | 296 | * |
297 | 297 | * @param string $status Comment status. |
298 | - * @return string|bool New comment_approved value, false if the status doesn't affect it. |
|
298 | + * @return string|false New comment_approved value, false if the status doesn't affect it. |
|
299 | 299 | */ |
300 | 300 | private function comment_status_to_approval_value( $status ) { |
301 | 301 | switch ( $status ) { |
@@ -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 ) { |
@@ -381,8 +381,8 @@ discard block |
||
381 | 381 | * Obtain the min-max values (edges) of the range. |
382 | 382 | * |
383 | 383 | * @param null $range_from |
384 | - * @param null $range_to |
|
385 | - * @param null $limit |
|
384 | + * @param integer|null $range_to |
|
385 | + * @param integer $limit |
|
386 | 386 | * |
387 | 387 | * @return array|object|void |
388 | 388 | * @throws Exception |