1 | <?php |
||
8 | class WebhookEventsController extends Controller |
||
9 | { |
||
10 | /** |
||
11 | * Create a new controller instance. |
||
12 | * |
||
13 | * @return void |
||
|
|||
14 | */ |
||
15 | public function __construct() |
||
19 | |||
20 | /** |
||
21 | * Get all of the available webhook events. |
||
22 | * |
||
23 | * @return Response |
||
24 | */ |
||
25 | public function all(Request $request) |
||
34 | } |
||
35 |
Adding a
@return
annotation 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.