@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace ApiClients\Rx\Operator; |
4 | 4 | |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | SchedulerInterface $scheduler = null |
20 | 20 | ) { |
21 | 21 | return $observable->subscribe(new CallbackObserver( |
22 | - function (string $json) use ($observer) { |
|
22 | + function(string $json) use ($observer) { |
|
23 | 23 | $observer->onNext(json_decode($json, true)); |
24 | 24 | }, |
25 | 25 | [$observer, 'onError'], |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace ApiClients\Rx\Operator; |
4 | 4 | |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | SchedulerInterface $scheduler = null |
20 | 20 | ) { |
21 | 21 | return $observable->subscribe(new CallbackObserver( |
22 | - function (array $json) use ($observer) { |
|
22 | + function(array $json) use ($observer) { |
|
23 | 23 | $observer->onNext(json_encode($json)); |
24 | 24 | }, |
25 | 25 | [$observer, 'onError'], |