mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-28 16:24:05 +02:00
IcingaObject: control intendation here. Really?
This commit is contained in:
parent
00162bccf8
commit
b4ffd5f02d
@ -98,7 +98,7 @@ abstract class IcingaObject extends DbObject
|
|||||||
if (method_exists($this, $method)) {
|
if (method_exists($this, $method)) {
|
||||||
$out .= $this->$method($value);
|
$out .= $this->$method($value);
|
||||||
} else {
|
} else {
|
||||||
$out .= c::renderKeyValue($key, c::renderString($value));
|
$out .= c::renderKeyValue($key, c::renderString($value), ' ');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ abstract class IcingaObject extends DbObject
|
|||||||
|
|
||||||
protected function renderBooleanProperty($key)
|
protected function renderBooleanProperty($key)
|
||||||
{
|
{
|
||||||
return c::renderKeyValue($key, c::renderBoolean($this->$key));
|
return c::renderKeyValue($key, c::renderBoolean($this->$key), ' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function renderSuffix()
|
protected function renderSuffix()
|
||||||
@ -135,7 +135,8 @@ abstract class IcingaObject extends DbObject
|
|||||||
{
|
{
|
||||||
return c::renderKeyValue(
|
return c::renderKeyValue(
|
||||||
$propertyName,
|
$propertyName,
|
||||||
c::renderString($this->connection->getCommandName($commandId))
|
c::renderString($this->connection->getCommandName($commandId)),
|
||||||
|
' '
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -143,7 +144,8 @@ abstract class IcingaObject extends DbObject
|
|||||||
{
|
{
|
||||||
return c::renderKeyValue(
|
return c::renderKeyValue(
|
||||||
$propertyName,
|
$propertyName,
|
||||||
c::renderString($this->connection->getZoneName($zoneId))
|
c::renderString($this->connection->getZoneName($zoneId)),
|
||||||
|
' '
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user