Skip to content

Commit

Permalink
fix styleci issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vrobert78 committed Jan 18, 2024
1 parent ceeb576 commit ce246d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Communication/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ public function __construct($socketClient, LoggerInterface $logger = null, int $

// create socket client
if (\is_string($socketClient)) {

if (\in_array(\parse_url($socketClient, \PHP_URL_SCHEME), ['http', 'https'])) {

$configURL = $socketClient.'/json/version';

if (!\function_exists('curl_init')) {
Expand All @@ -135,7 +133,6 @@ public function __construct($socketClient, LoggerInterface $logger = null, int $
}

$socketClient = $json_resp->webSocketDebuggerUrl;

}

$socketClient = new Wrench(new WrenchBaseClient($socketClient, 'http://127.0.0.1'), $this->logger);
Expand Down

0 comments on commit ce246d8

Please sign in to comment.