Skip to content

Commit 69e2faa

Browse files
committed
fix: allow configuration of php-http/socket-client
1 parent 323dbec commit 69e2faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClientFactory/SocketFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public function createClient(array $config = [])
3131
throw new \LogicException('To use the Socket client you need to install the "php-http/socket-client" package.');
3232
}
3333

34-
return new Client($this->messageFactory, $config);
34+
return new Client($this->messageFactory, $config, $config);
3535
}
3636
}

0 commit comments

Comments
 (0)