mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 15:39:53 +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')) {
|
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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -565,7 +565,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…
Add table
Reference in a new issue