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 );