Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Browser->setTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
vl committed Aug 9, 2018
1 parent 6867142 commit 33e19aa
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,21 +161,14 @@ public function getLastStatusCode(): int
return $this->lastStatusCode;
}

public function setLastStatusCode(int $lastStatusCode): Browser
{
$this->lastStatusCode = $lastStatusCode;

return $this;
}

public function getLastResponseHeaders(): ?array
{
return $this->lastResponseHeaders;
}

public function setLastResponseHeaders(?array $lastResponseHeaders): Browser
public function setTimeout(int $timeout): self
{
$this->lastResponseHeaders = $lastResponseHeaders;
$this->timeout = $timeout;

return $this;
}
Expand Down

0 comments on commit 33e19aa

Please sign in to comment.