BackgroundDaemon: improve readability

This commit is contained in:
Thomas Gelf 2020-11-30 08:49:52 +01:00
parent 12a818216c
commit 8dce74c10e
1 changed files with 1 additions and 1 deletions

View File

@ -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;