@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace ApiClients\Client\Travis\Resource\Async; |
4 | 4 | |
5 | -use ApiClients\Client\Pusher\AsyncClient; |
|
6 | 5 | use ApiClients\Client\Pusher\CommandBus\Command\SharedAppClientCommand; |
7 | 6 | use ApiClients\Foundation\Hydrator\CommandBus\Command\HydrateCommand; |
8 | 7 | use ApiClients\Foundation\Transport\CommandBus\Command\RequestCommand; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use ApiClients\Client\Travis\Resource\BroadcastInterface; |
7 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
8 | 8 | use React\Promise\PromiseInterface; |
9 | -use Rx\Observable; |
|
10 | 9 | use function React\Promise\resolve; |
11 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
12 | 11 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use ApiClients\Client\Travis\Resource\BroadcastInterface; |
7 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
8 | 8 | use React\Promise\PromiseInterface; |
9 | -use Rx\Observable; |
|
10 | 9 | use function React\Promise\resolve; |
11 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
12 | 11 |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace ApiClients\Client\Travis\CommandBus\Handler; |
4 | 4 | |
5 | 5 | use ApiClients\Client\Travis\CommandBus\Command\HooksCommand; |
6 | -use ApiClients\Client\Travis\Resource\AccountInterface; |
|
7 | 6 | use ApiClients\Client\Travis\Resource\HookInterface; |
8 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
9 | 8 | use React\Promise\PromiseInterface; |
10 | -use Rx\Observable; |
|
11 | 9 | use function React\Promise\resolve; |
12 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
13 | 11 |
@@ -6,12 +6,9 @@ |
||
6 | 6 | use ApiClients\Client\Travis\CommandBus\Command; |
7 | 7 | use ApiClients\Foundation\Client; |
8 | 8 | use ApiClients\Foundation\Factory; |
9 | -use ApiClients\Foundation\Hydrator\CommandBus\Command\HydrateCommand; |
|
10 | -use ApiClients\Foundation\Transport\CommandBus\Command\SimpleRequestCommand; |
|
11 | 9 | use React\EventLoop\LoopInterface; |
12 | 10 | use React\Promise\CancellablePromiseInterface; |
13 | 11 | use React\Promise\PromiseInterface; |
14 | -use Rx\Observable; |
|
15 | 12 | use Rx\ObservableInterface; |
16 | 13 | use function ApiClients\Tools\Rx\unwrapObservableFromPromise; |
17 | 14 | use function React\Promise\resolve; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use ApiClients\Client\Travis\Resource\BroadcastInterface; |
7 | 7 | use ApiClients\Client\Travis\Service\FetchAndIterateService; |
8 | 8 | use React\Promise\PromiseInterface; |
9 | -use Rx\Observable; |
|
10 | 9 | use function React\Promise\resolve; |
11 | 10 | use function WyriHaximus\React\futureFunctionPromise; |
12 | 11 |