mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
code style
This commit is contained in:
parent
e5340170a8
commit
306ec135c8
3 changed files with 45 additions and 30 deletions
|
|
@ -38,9 +38,13 @@ class NativeState {
|
|||
/** @var bool */
|
||||
protected $connected = false;
|
||||
|
||||
// sync the garbage collection cycle
|
||||
// __deconstruct() of KerberosAuth should not called too soon
|
||||
protected $auth;
|
||||
/**
|
||||
* sync the garbage collection cycle
|
||||
* __deconstruct() of KerberosAuth should not called too soon
|
||||
*
|
||||
* @var IAuth|null $auth
|
||||
*/
|
||||
protected $auth = null;
|
||||
|
||||
// see error.h
|
||||
const EXCEPTION_MAP = [
|
||||
|
|
@ -111,12 +115,12 @@ class NativeState {
|
|||
}
|
||||
|
||||
$auth->setExtraSmbClientOptions($this->state);
|
||||
/** @var bool $result */
|
||||
|
||||
// sync the garbage collection cycle
|
||||
// __deconstruct() of KerberosAuth should not called too soon
|
||||
// __deconstruct() of KerberosAuth should not caled too soon
|
||||
$this->auth = $auth;
|
||||
|
||||
/** @var bool $result */
|
||||
$result = @smbclient_state_init($this->state, $auth->getWorkgroup(), $auth->getUsername(), $auth->getPassword());
|
||||
|
||||
$this->testResult($result, '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue