| Conditions | 4 |
| Paths | 8 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | public function makeReqOpt() |
||
| 21 | { |
||
| 22 | $reqOpt = new RequestOptions(); |
||
| 23 | if ($this->proxy !== null) { |
||
| 24 | $reqOpt->proxy = $this->proxy; |
||
| 25 | } |
||
| 26 | if ($this->proxy_auth !== null) { |
||
| 27 | $reqOpt->proxy_auth = $this->proxy_auth; |
||
| 28 | } |
||
| 29 | if ($this->proxy_user_password !== null) { |
||
| 30 | $reqOpt->proxy_user_password = $this->proxy_user_password; |
||
| 31 | } |
||
| 32 | return $reqOpt; |
||
| 33 | } |
||
| 35 |