Apply fixes from StyleCI
This commit is contained in:
parent
a3138b1e62
commit
e7ef9b9f9a
|
@ -48,7 +48,9 @@ trait UpdateHandler
|
|||
}
|
||||
*/
|
||||
if (isset($this->settings['pwr']['update_handler'])) {
|
||||
if (is_array($this->settings['pwr']['update_handler']) && $this->settings['pwr']['update_handler'][0] === false) $this->settings['pwr']['update_handler'] = $this->settings['pwr']['update_handler'][1];
|
||||
if (is_array($this->settings['pwr']['update_handler']) && $this->settings['pwr']['update_handler'][0] === false) {
|
||||
$this->settings['pwr']['update_handler'] = $this->settings['pwr']['update_handler'][1];
|
||||
}
|
||||
if (is_string($this->settings['pwr']['update_handler'])) {
|
||||
return $this->{$this->settings['pwr']['update_handler']}($update);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user