PHPUnit: experiment - cleanup.

This commit is contained in:
Vladimir Reznichenko 2024-09-05 09:58:15 +02:00
parent 62d77f09e4
commit 8530eb9289
1 changed files with 2 additions and 2 deletions

View File

@ -115,12 +115,12 @@ class WC_Unit_Test_Case extends WP_HTTP_TestCase {
/**
* Intercept geolocation requests and return mock data.
*
* @since 9.3.0
*
* @param array $geolocation Geolocation data.
* @param string $ip_address IP address.
*
* @return array
*
* @since 9.3.0
*/
public function intercept_woocommerce_get_geolocation( array $geolocation, string $ip_address ): array {
return $geolocation;