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

Commit

Permalink
Merge branch 'pr4411'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,13 @@ public function setParameterGet(array $query)
* @param bool $clearAuth Also clear http authentication? (defaults to true)
* @return Client
*/
public function resetParameters($clearCookies = false, $clearAuth = true)
public function resetParameters($clearCookies = false /*, $clearAuth = true */)
{
$clearAuth = true;
if (func_num_args() > 1) {
$clearAuth = func_get_arg(1);
}

$uri = $this->getUri();

$this->streamName = null;
Expand Down

0 comments on commit 4ee93be

Please sign in to comment.