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:
Ravi Kumar Kempapura Srinivasa 2020-05-04 09:35:10 +02:00 committed by raviks789
parent c0f422d750
commit d494cf3cee

View file

@ -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)) {