@@ -17,7 +17,7 @@ |
||
| 17 | 17 | ObserverInterface $observer |
| 18 | 18 | ): DisposableInterface { |
| 19 | 19 | return $observable->subscribe( |
| 20 | - function (string $json) use ($observer): void { |
|
| 20 | + function(string $json) use ($observer): void { |
|
| 21 | 21 | $observer->onNext(\json_decode($json, true)); |
| 22 | 22 | }, |
| 23 | 23 | [$observer, 'onError'], |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | ObserverInterface $observer |
| 18 | 18 | ): DisposableInterface { |
| 19 | 19 | return $observable->subscribe( |
| 20 | - function (array $json) use ($observer): void { |
|
| 20 | + function(array $json) use ($observer): void { |
|
| 21 | 21 | $observer->onNext(\json_encode($json)); |
| 22 | 22 | }, |
| 23 | 23 | [$observer, 'onError'], |