Apply fixes from StyleCI

This commit is contained in:
Daniil Gentili 2018-02-24 19:40:11 +00:00 committed by StyleCI Bot
parent d2839070d8
commit ed6a7f6e06

View File

@ -68,6 +68,7 @@ class DataCenter
$ipv6 = $this->settings[$dc_config_number]['ipv6'] ? 'ipv6' : 'ipv4';
if (!isset($this->dclist[$test][$ipv6][$dc_number]['ip_address'])) {
unset($this->sockets[$dc_number]);
return false;
}
$address = $this->dclist[$test][$ipv6][$dc_number]['ip_address'];