Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Sh committed Apr 26, 2024
1 parent 816a04d commit 20f623b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/ProxyRequestRotate.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,23 @@ class ProxyRequestRotate implements ProxyRequestInterface
*
* @param string $urlToGet
* @param string $token
* @param string $server
* @param string $isMobileOnlyUserAgent any value is treated as yes, empty for no
* @param [] $cookies
* @param array $cookies
* @param string $referer
*/
public function __construct($urlToGet, $token = self::TOKEN_PUBLIC,
public function __construct($urlToGet, $token = self::TOKEN_PUBLIC, $server = '',
$isMobileOnlyUserAgent = '', $cookies = [],
$referer = '', $server = '')
$referer = '')
{

$this->urlToGet = $urlToGet;
$this->token = $token;
$this->server = $server ?: self::SERVER_PUBLIC;

$this->isMobileOnlyUserAgent = $isMobileOnlyUserAgent;
$this->cookies = $cookies;
$this->referer = $referer;
$this->server = $server ?: self::SERVER_PUBLIC;
}

/**
Expand Down

0 comments on commit 20f623b

Please sign in to comment.