BackgroundDaemon: improve readability
This commit is contained in:
parent
12a818216c
commit
8dce74c10e
|
@ -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 New Issue