mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
ObjectController: Fix phpcs lint
This commit is contained in:
parent
de8654fc74
commit
b3bd671d90
@ -496,7 +496,7 @@ abstract class ObjectController extends ActionController
|
|||||||
if ($this->object instanceof IcingaService) {
|
if ($this->object instanceof IcingaService) {
|
||||||
if (($host = $this->object->get('host')) !== null) {
|
if (($host = $this->object->get('host')) !== null) {
|
||||||
$params['host'] = $host;
|
$params['host'] = $host;
|
||||||
} else if (($set = $this->object->get('service_set')) !== null) {
|
} elseif (($set = $this->object->get('service_set')) !== null) {
|
||||||
$params['set'] = $set;
|
$params['set'] = $set;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user