mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixing calltime pass by reference deprecation warnings.
This commit is contained in:
parent
b1630d4f07
commit
9c1516e6a8
1 changed files with 2 additions and 2 deletions
|
@ -539,7 +539,7 @@ class HttpSocket extends CakeSocket {
|
|||
if (!method_exists($authClass, 'authentication')) {
|
||||
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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -565,7 +565,7 @@ class HttpSocket extends CakeSocket {
|
|||
if (!method_exists($authClass, 'proxyAuthentication')) {
|
||||
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…
Add table
Reference in a new issue