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

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Client.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,13 @@ public function setParameterGet(array $query)
461461
* @param bool $clearAuth Also clear http authentication? (defaults to true)
462462
* @return Client
463463
*/
464-
public function resetParameters($clearCookies = false, $clearAuth = true)
464+
public function resetParameters($clearCookies = false /*, $clearAuth = true */)
465465
{
466+
$clearAuth = true;
467+
if (func_num_args() > 1) {
468+
$clearAuth = func_get_arg(1);
469+
}
470+
466471
$uri = $this->getUri();
467472

468473
$this->streamName = null;

0 commit comments

Comments
 (0)