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