mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing calltime pass by reference deprecation warnings.
This commit is contained in:
parent
4009b6b2c7
commit
6f1eca79ac
1 changed files with 2 additions and 2 deletions
|
@ -537,7 +537,7 @@ class HttpSocket extends CakeSocket {
|
||||||
if (!method_exists($authClass, 'authentication')) {
|
if (!method_exists($authClass, 'authentication')) {
|
||||||
throw new SocketException(sprintf(__('The %s do not support authentication.'), $authClass));
|
throw new SocketException(sprintf(__('The %s do not support authentication.'), $authClass));
|
||||||
}
|
}
|
||||||
call_user_func("$authClass::authentication", $this, &$this->_auth[$method]);
|
call_user_func("$authClass::authentication", $this, $this->_auth[$method]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -563,7 +563,7 @@ class HttpSocket extends CakeSocket {
|
||||||
if (!method_exists($authClass, 'proxyAuthentication')) {
|
if (!method_exists($authClass, 'proxyAuthentication')) {
|
||||||
throw new SocketException(sprintf(__('The %s do not support proxy authentication.'), $authClass));
|
throw new SocketException(sprintf(__('The %s do not support proxy authentication.'), $authClass));
|
||||||
}
|
}
|
||||||
call_user_func("$authClass::proxyAuthentication", $this, &$this->_proxy);
|
call_user_func("$authClass::proxyAuthentication", $this, $this->_proxy);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue