From 9dddffb538182480fa85838960438df7e428497b Mon Sep 17 00:00:00 2001 From: Dan0sz <18595395+Dan0sz@users.noreply.github.com> Date: Tue, 16 Jul 2024 22:50:44 +0200 Subject: [PATCH] No need to test edge cases. --- src/ClientFactory.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ClientFactory.php b/src/ClientFactory.php index 7ea6e87b..ab33cb33 100644 --- a/src/ClientFactory.php +++ b/src/ClientFactory.php @@ -29,9 +29,9 @@ public function build() { * cURL or allow_url_fopen ini setting is required for GuzzleHttp to function properly. */ if ( ! extension_loaded( 'curl' ) && ! ini_get( 'allow_url_fopen' ) ) { - add_action( 'init', [ $this, 'add_curl_error' ] ); + add_action( 'init', [ $this, 'add_curl_error' ] ); // @codeCoverageIgnore - return false; + return false; // @codeCoverageIgnore } return new Client( $this->token );