Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 7af60b5

Browse files
committed
[zendframework/zendframework#3285] add return that was removed
- return after parent::connect
1 parent 5594e1c commit 7af60b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Client/Adapter/Proxy.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public function connect($host, $port = 80, $secure = false)
9292
// If no proxy is set, fall back to Socket adapter
9393
if (! $this->config['proxy_host']) {
9494
parent::connect($host, $port, $secure);
95+
return;
9596
}
9697

9798
/* Url might require stream context even if proxy connection doesn't */

0 commit comments

Comments
 (0)