src/Components/Filters/DateRangePicker.php
Method getDefaultJsOptions
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getDefaultJsOptions()
{
$carbon = new Carbon();
$prev_month = Carbon::now()->startOfMonth()->subWeek();
$today = Carbon::now();