Apply fixes from StyleCI
This commit is contained in:
parent
3cab74f7d5
commit
da8c5bd641
@ -71,11 +71,14 @@ class API extends APIFactory
|
|||||||
|
|
||||||
return $this->storage[$name] = $value;
|
return $this->storage[$name] = $value;
|
||||||
}
|
}
|
||||||
public function __isset($name) {
|
|
||||||
|
public function __isset($name)
|
||||||
|
{
|
||||||
return isset($this->storage[$name]);
|
return isset($this->storage[$name]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __unset($name) {
|
public function __unset($name)
|
||||||
|
{
|
||||||
unset($this->storage[$name]);
|
unset($this->storage[$name]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -283,6 +283,7 @@ trait UpdateHandler
|
|||||||
$this->updates_state['sync_loading'] = true;
|
$this->updates_state['sync_loading'] = true;
|
||||||
$data = $this->method_call('updates.getState', [], ['datacenter' => $this->datacenter->curdc]);
|
$data = $this->method_call('updates.getState', [], ['datacenter' => $this->datacenter->curdc]);
|
||||||
$this->updates_state['sync_loading'] = $last;
|
$this->updates_state['sync_loading'] = $last;
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user