@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Create a new event instance. |
11 | 11 | * |
12 | - * @param $ticket |
|
12 | + * @param \stdClass|null $ticket |
|
13 | 13 | * @return void |
14 | 14 | */ |
15 | 15 | public function __construct($ticket) |
@@ -2,12 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace NotificationChannels\Zendesk; |
4 | 4 | |
5 | -use Illuminate\Support\Arr; |
|
6 | -use Zendesk\API\HttpClient; |
|
7 | 5 | use Illuminate\Notifications\Notification; |
8 | -use NotificationChannels\Zendesk\Exceptions\CouldNotSendNotification; |
|
6 | +use Illuminate\Support\Arr; |
|
9 | 7 | use NotificationChannels\Zendesk\Events\ZendeskTicketWasCreated; |
10 | 8 | use NotificationChannels\Zendesk\Events\ZendeskTicketWasUpdated; |
9 | +use NotificationChannels\Zendesk\Exceptions\CouldNotSendNotification; |
|
10 | +use Zendesk\API\HttpClient; |
|
11 | 11 | |
12 | 12 | class ZendeskChannel |
13 | 13 | { |