Fix violations of coding guidelines

This commit is contained in:
Matthias Jentsch 2014-06-25 15:07:39 +02:00
parent 85aed364b7
commit ae4aa9c182
1 changed files with 7 additions and 7 deletions

View File

@ -3,8 +3,8 @@ $this->is_service = true;
$this->hostquery = implode($this->hostnames, ',');
$this->servicequery = implode($this->servicenames, ',');
$this->target = array(
'host' => $this->hostquery,
'service' => $this->servicequery
'host' => $this->hostquery,
'service' => $this->servicequery
);
?>
@ -24,11 +24,11 @@ $this->target = array(
<td align="center"><?= $this->service_pie->render() ?></td>
<td><?php
foreach ($service_states as $state => $count) {
if ($count > 0) {
echo ucfirst($state) . ': ' . $count . '<br />';
}
}
foreach ($service_states as $state => $count) {
if ($count > 0) {
echo ucfirst($state) . ': ' . $count . '<br />';
}
}
?></td>
<td align="center"><?= $this->host_pie->render() ?></td>