@@ -220,7 +220,7 @@ |
||
| 220 | 220 | * Also used by @see self::test_request_port_constants |
| 221 | 221 | * |
| 222 | 222 | * @param mixed $http_x_forwarded_port value of $_SERVER[ 'HTTP_X_FORWARDED_PORT' ]. |
| 223 | - * @param mixed $server_port value of $_SERVER[ 'SERVER_PORT' ]. Null will unset the value. |
|
| 223 | + * @param string $server_port value of $_SERVER[ 'SERVER_PORT' ]. Null will unset the value. |
|
| 224 | 224 | * @param string $expeceted The expected output. Null will unset the value. |
| 225 | 225 | * @param boolean $ssl Whether to consider current request using SSL or not. |
| 226 | 226 | * |
@@ -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 |