library: code style

This commit is contained in:
Thomas Gelf 2016-03-01 04:23:31 +01:00
parent ed4f34272b
commit 8b3d72a04a
2 changed files with 6 additions and 2 deletions

View File

@ -1385,7 +1385,10 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
}
foreach ($this->relatedSets() as $property => $set) {
if ($set->isEmpty()) { continue; }
if ($set->isEmpty()) {
continue;
}
$props[$property] = $set->getPlainUnmodifiedObject();
}

View File

@ -1000,6 +1000,7 @@ abstract class DirectorObjectForm extends QuickForm
return $tpl;
}
// TODO: deprecate
protected function enumStateFilters()
{
return array(
@ -1034,7 +1035,7 @@ abstract class DirectorObjectForm extends QuickForm
'FlappingStart' => $this->translate('Flapping ends'),
'FlappingEnd' => $this->translate('Flapping starts')
)
);
);
}
private function dummyForTranslation()