mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-24 00:29:47 -05:00
Each PHP statement must be on a line by itself
Previously there was an error during php codesniffer test at line 53 of IcingaDbState. Changes are made to correct this error.
This commit is contained in:
parent
c0f422d750
commit
d494cf3cee
1 changed files with 5 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ class IcingaDbState extends IcingaDbBackend
|
|||
/** @var BpConfig */
|
||||
protected $config;
|
||||
|
||||
/** @var IcingaDbBackend */
|
||||
/** @var IcingadbDatabase */
|
||||
protected $backend;
|
||||
|
||||
public function __construct(BpConfig $config)
|
||||
|
|
@ -50,7 +50,10 @@ class IcingaDbState extends IcingaDbBackend
|
|||
{
|
||||
$config = $this->config;
|
||||
|
||||
Benchmark::measure('Retrieving states for business process ' . $config->getName());
|
||||
Benchmark::measure(sprintf(
|
||||
'Retrieving states for business process %s',
|
||||
$config->getName()
|
||||
));
|
||||
|
||||
$hosts = $config->listInvolvedHostNames();
|
||||
if (empty($hosts)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue