ObjectController: Fix phpcs lint

This commit is contained in:
Markus Frosch 2019-03-19 15:43:20 +01:00
parent de8654fc74
commit b3bd671d90

View File

@ -496,7 +496,7 @@ abstract class ObjectController extends ActionController
if ($this->object instanceof IcingaService) {
if (($host = $this->object->get('host')) !== null) {
$params['host'] = $host;
} else if (($set = $this->object->get('service_set')) !== null) {
} elseif (($set = $this->object->get('service_set')) !== null) {
$params['set'] = $set;
}
}