@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Sebdesign\ArtisanCloudflare; |
| 4 | 4 | |
| 5 | -use GuzzleHttp\Promise; |
|
| 6 | -use Psr\Log\LoggerInterface; |
|
| 7 | -use GuzzleHttp\Psr7\Response; |
|
| 8 | 5 | use GuzzleHttp\ClientInterface; |
| 9 | -use Illuminate\Support\Collection; |
|
| 10 | 6 | use GuzzleHttp\Exception\ClientException; |
| 11 | 7 | use GuzzleHttp\Exception\RequestException; |
| 8 | +use GuzzleHttp\Promise; |
|
| 9 | +use GuzzleHttp\Psr7\Response; |
|
| 10 | +use Illuminate\Support\Collection; |
|
| 11 | +use Psr\Log\LoggerInterface; |
|
| 12 | 12 | |
| 13 | 13 | class Client |
| 14 | 14 | { |
@@ -119,7 +119,7 @@ |
||
| 119 | 119 | * Execute the purging operations and return each result. |
| 120 | 120 | * |
| 121 | 121 | * @param \Illuminate\Support\Collection<string, \Symfony\Component\HttpFoundation\ParameterBag> $zones |
| 122 | - * @return \Illuminate\Support\Collection<string, object> |
|
| 122 | + * @return Collection object> |
|
| 123 | 123 | */ |
| 124 | 124 | private function purge(Collection $zones) |
| 125 | 125 | { |
@@ -6,8 +6,8 @@ |
||
| 6 | 6 | use Illuminate\Support\Collection; |
| 7 | 7 | use Sebdesign\ArtisanCloudflare\Client; |
| 8 | 8 | use Symfony\Component\Console\Helper\TableCell; |
| 9 | -use Symfony\Component\HttpFoundation\ParameterBag; |
|
| 10 | 9 | use Symfony\Component\Console\Helper\TableSeparator; |
| 10 | +use Symfony\Component\HttpFoundation\ParameterBag; |
|
| 11 | 11 | |
| 12 | 12 | class Purge extends Command |
| 13 | 13 | { |