@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * Create a new job instance. |
| 38 | 38 | * |
| 39 | - * @param array|\Illuminate\Support\Collection $webhooks |
|
| 39 | + * @param \Illuminate\Support\Collection $webhooks |
|
| 40 | 40 | * @param mixed $eventData |
| 41 | 41 | */ |
| 42 | 42 | public function __construct($webhooks, $eventData) |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * Resolves a string or callable to a valid callable. |
| 50 | 50 | * @param string|callable $transformer |
| 51 | - * @param $defaultMethodName |
|
| 51 | + * @param string $defaultMethodName |
|
| 52 | 52 | * @return callable |
| 53 | 53 | */ |
| 54 | 54 | private function resolveCallable($transformer, $defaultMethodName) |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * Create a new webhook for the user. |
| 40 | 40 | * |
| 41 | 41 | * @param CreateWebhookRequest $request |
| 42 | - * @return Response |
|
| 42 | + * @return \Illuminate\Http\JsonResponse |
|
| 43 | 43 | */ |
| 44 | 44 | public function store(CreateWebhookRequest $request) |
| 45 | 45 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * Get all of the available webhook events. |
| 23 | 23 | * |
| 24 | - * @return Response |
|
| 24 | + * @return \Illuminate\Support\Collection |
|
| 25 | 25 | */ |
| 26 | 26 | public function all(Request $request) |
| 27 | 27 | { |