@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * Constructor. |
33 | 33 | * |
34 | 34 | * @param \GuzzleHttp\ClientInterface $client |
35 | - * @param \Illuminate\Contracts\Logging $logger |
|
35 | + * @param Log $logger |
|
36 | 36 | */ |
37 | 37 | public function __construct(ClientInterface $client, Log $logger) |
38 | 38 | { |
@@ -68,8 +68,8 @@ discard block |
||
68 | 68 | * |
69 | 69 | * The returned promise is fulfilled with a collection of results. |
70 | 70 | * |
71 | - * @param Illuminate\Support\Collection $promises |
|
72 | - * @return GuzzleHttp\Promise\PromiseInterface |
|
71 | + * @param Collection $promises |
|
72 | + * @return Promise\PromiseInterface |
|
73 | 73 | */ |
74 | 74 | protected function settle(Collection $promises) |
75 | 75 | { |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * Put the body of the fulfilled promise into the results. |
89 | 89 | * |
90 | 90 | * @param \Illuminate\Support\Collection $results |
91 | - * @return Closure |
|
91 | + * @return \Closure |
|
92 | 92 | */ |
93 | 93 | protected function onFulfilled(Collection &$results) |
94 | 94 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * Handle the rejected promise and put the errors into the results. |
102 | 102 | * |
103 | 103 | * @param \Illuminate\Support\Collection $results |
104 | - * @return Closure |
|
104 | + * @return \Closure |
|
105 | 105 | */ |
106 | 106 | protected function onRejected(Collection &$results) |
107 | 107 | { |
@@ -2,14 +2,14 @@ |
||
2 | 2 | |
3 | 3 | namespace Sebdesign\ArtisanCloudflare; |
4 | 4 | |
5 | -use GuzzleHttp\Promise; |
|
6 | -use GuzzleHttp\Psr7\Response; |
|
7 | 5 | use GuzzleHttp\ClientInterface; |
8 | 6 | use GuzzleHttp\Exception\ClientException; |
9 | 7 | use GuzzleHttp\Exception\RequestException; |
8 | +use GuzzleHttp\Promise; |
|
9 | +use GuzzleHttp\Psr7\Response; |
|
10 | 10 | |
11 | -use Illuminate\Support\Collection; |
|
12 | 11 | use Illuminate\Contracts\Logging\Log; |
12 | +use Illuminate\Support\Collection; |
|
13 | 13 | |
14 | 14 | class Client |
15 | 15 | { |