mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-08 16:24:21 -04:00
BackgroundDaemon: improve readability
This commit is contained in:
parent
12a818216c
commit
8dce74c10e
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class BackgroundDaemon
|
|||
|
||||
public function run(LoopInterface $loop = null)
|
||||
{
|
||||
if ($ownLoop = $loop === null) {
|
||||
if ($ownLoop = ($loop === null)) {
|
||||
$loop = Loop::create();
|
||||
}
|
||||
$this->loop = $loop;
|
||||
|
|
|
|||
Loading…
Reference in a new issue