@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\Discord\Commands; |
| 4 | 4 | |
| 5 | -use WebSocket\Client; |
|
| 6 | -use Illuminate\Support\Arr; |
|
| 7 | -use Illuminate\Console\Command; |
|
| 8 | 5 | use GuzzleHttp\Client as HttpClient; |
| 6 | +use Illuminate\Console\Command; |
|
| 7 | +use Illuminate\Support\Arr; |
|
| 8 | +use WebSocket\Client; |
|
| 9 | 9 | |
| 10 | 10 | class SetupCommand extends Command |
| 11 | 11 | { |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @param $verb |
|
| 54 | + * @param string $verb |
|
| 55 | 55 | * @param string $endpoint |
| 56 | 56 | * @param array $data |
| 57 | 57 | * |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | namespace NotificationChannels\Discord; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Illuminate\Support\Arr; |
|
| 7 | 6 | use GuzzleHttp\Client as HttpClient; |
| 8 | 7 | use GuzzleHttp\Exception\RequestException; |
| 8 | +use Illuminate\Support\Arr; |
|
| 9 | 9 | use NotificationChannels\Discord\Exceptions\CouldNotSendNotification; |
| 10 | 10 | |
| 11 | 11 | class Discord |