@@ -2,10 +2,10 @@ |
||
| 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; |
| 6 | +use Illuminate\Support\Arr; |
|
| 8 | 7 | use NotificationChannels\Zendesk\Exceptions\CouldNotSendNotification; |
| 8 | +use Zendesk\API\HttpClient; |
|
| 9 | 9 | |
| 10 | 10 | class ZendeskChannel |
| 11 | 11 | { |
@@ -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) |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Create a new event instance. |
| 11 | 11 | * |
| 12 | - * @param $ticket |
|
| 12 | + * @param null|\stdClass $ticket |
|
| 13 | 13 | * @return void |
| 14 | 14 | */ |
| 15 | 15 | public function __construct($ticket) |