@@ 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 |
@@ 347-355 (lines=9) @@ | ||
344 | * |
|
345 | * @return self |
|
346 | */ |
|
347 | protected function setHttpOptions(): self |
|
348 | { |
|
349 | if ($this->config->has('http') && is_array($this->config->get('http'))) { |
|
350 | $this->config->forget('http.base_uri'); |
|
351 | $this->httpOptions = $this->config->get('http'); |
|
352 | } |
|
353 | ||
354 | return $this; |
|
355 | } |
|
356 | } |
|
357 |