| 1 | <?php |
||
| 8 | class WebhookEventsController extends Controller |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Create a new controller instance. |
||
| 13 | * |
||
| 14 | * @return void |
||
|
|
|||
| 15 | */ |
||
| 16 | public function __construct() |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Get all of the available webhook events. |
||
| 23 | * |
||
| 24 | * @return Response |
||
| 25 | */ |
||
| 26 | public function all(Request $request) |
||
| 35 | } |
||
| 36 |
Adding a
@returnannotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.