| 1 | <?php |
||
| 11 | class ActivityLogController extends Controller |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Create a new controller instance. |
||
| 15 | * |
||
| 16 | * @return void |
||
|
|
|||
| 17 | */ |
||
| 18 | public function __construct() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Display index page and process dataTable ajax request. |
||
| 25 | * |
||
| 26 | * @param \App\DataTables\UsersDataTable $dataTable |
||
| 27 | * @return \Illuminate\Http\JsonResponse|\Illuminate\View\View |
||
| 28 | */ |
||
| 29 | public function index(ActivityLogDataTable $dataTable) |
||
| 33 | |||
| 34 | } |
||
| 35 |
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.