Nayjest/Grids

View on GitHub
src/Components/Filters/DateRangePicker.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getDefaultJsOptions has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function getDefaultJsOptions()
    {
        $carbon = new Carbon();
        $prev_month = Carbon::now()->startOfMonth()->subWeek();
        $today = Carbon::now();
Severity: Minor
Found in src/Components/Filters/DateRangePicker.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status