mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-06 10:39:21 +03:00
I think this should fix the PSR check
This commit is contained in:
parent
cce3bbcfc1
commit
35a756ee58
@ -147,14 +147,14 @@ class Server
|
|||||||
*
|
*
|
||||||
* @param string $username
|
* @param string $username
|
||||||
* @param string $password
|
* @param string $password
|
||||||
* @param bool $tryFasterAuth tries to auth faster by disabling GSSAPI & NTLM auth methods (set to false if you use either of these auth methods)
|
* @param bool $tryFasterAuth tries to auth faster by disabling GSSAPI & NTLM auth methods (set to false if you use either of these auth methods)
|
||||||
*/
|
*/
|
||||||
public function setAuthentication($username, $password, $tryFasterAuth=true)
|
public function setAuthentication($username, $password, $tryFasterAuth=true)
|
||||||
{
|
{
|
||||||
$this->username = $username;
|
$this->username = $username;
|
||||||
$this->password = $password;
|
$this->password = $password;
|
||||||
if( $tryFasterAuth ) {
|
if( $tryFasterAuth ) {
|
||||||
$this->setParam( 'DISABLE_AUTHENTICATOR', array( 'GSSAPI', 'NTLM' ) );
|
$this->setParam('DISABLE_AUTHENTICATOR', array('GSSAPI','NTLM'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user