yajra / laravel-datatables-docs

Laravel DaTatables package documentation
https://yajrabox.com/docs/laravel-datatables
93 stars 611 forks source link

fix: Ensure $actions property is explicitly typed as array in UserDataTable #110

Closed Muurtaja closed 4 months ago

Muurtaja commented 4 months ago

This commit fixes a type error in the UserDataTable class by explicitly typing the $actions property as an array. This change aligns with the expected type in the Yajra\DataTables\Services\DataTable class, preventing runtime errors and ensuring consistent data handling.

By making this update, the UserDataTable class now correctly adheres to the expected data structure, improving overall stability and maintainability.

yajra commented 4 months ago

Thanks!