Skip to content

Commit 867c94b

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClientFactory/SocketFactory.php

Lines changed: 2 additions & 2 deletions
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
}
36-
}
36+
}

0 commit comments

Comments
 (0)