@@ -1,9 +1,9 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace ApiClients\Tools\Rx; |
| 4 | 4 | |
| 5 | 5 | // @codeCoverageIgnoreStart |
| 6 | 6 | if (!function_exists('ApiClients\Tools\Rx\unwrapObservableFromPromise')) { |
| 7 | - require __DIR__ . '/functions.php'; |
|
| 7 | + require __DIR__.'/functions.php'; |
|
| 8 | 8 | } |
| 9 | 9 | // @codeCoverageIgnoreEnd |
@@ -1,7 +1,7 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | use Rx\Scheduler; |
| 4 | 4 | |
| 5 | -Scheduler::setDefaultFactory(function () { |
|
| 5 | +Scheduler::setDefaultFactory(function() { |
|
| 6 | 6 | return new Scheduler\ImmediateScheduler(); |
| 7 | 7 | }); |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace ApiClients\Tools\Rx; |
| 4 | 4 | |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | function setAsyncScheduler(LoopInterface $loop) |
| 39 | 39 | { |
| 40 | 40 | try { |
| 41 | - Scheduler::setAsyncFactory(function () use ($loop) { |
|
| 41 | + Scheduler::setAsyncFactory(function() use ($loop) { |
|
| 42 | 42 | return new Scheduler\EventLoopScheduler($loop); |
| 43 | 43 | }); |
| 44 | 44 | } catch (Exception $e) { |