@@ 471-479 (lines=9) @@ | ||
468 | * |
|
469 | * @return self |
|
470 | */ |
|
471 | private function setHttpOptions(): self |
|
472 | { |
|
473 | if ($this->config->has('http') && is_array($this->config->get('http'))) { |
|
474 | $this->config->forget('http.base_uri'); |
|
475 | $this->httpOptions = $this->config->get('http'); |
|
476 | } |
|
477 | ||
478 | return $this; |
|
479 | } |
|
480 | } |
|
481 |
@@ 343-351 (lines=9) @@ | ||
340 | * |
|
341 | * @return self |
|
342 | */ |
|
343 | protected function setHttpOptions(): self |
|
344 | { |
|
345 | if ($this->config->has('http') && is_array($this->config->get('http'))) { |
|
346 | $this->config->forget('http.base_uri'); |
|
347 | $this->httpOptions = $this->config->get('http'); |
|
348 | } |
|
349 | ||
350 | return $this; |
|
351 | } |
|
352 | } |
|
353 |