changeweb/Unifiedtransform

View on GitHub
app/Http/Controllers/AttendanceController.php

Summary

Maintainability
A
1 hr
Test Coverage

Method create has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function create(Request $request)
    {
        if($request->query('class_id') == null){
            return abort(404);
        }
Severity: Minor
Found in app/Http/Controllers/AttendanceController.php - About 1 hr to fix

    Method __construct has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            UserInterface $userRepository,
            AcademicSettingInterface $academicSettingRepository,
            SchoolSessionInterface $schoolSessionRepository,
            SchoolClassInterface $schoolClassRepository,
            SectionInterface $sectionRepository
    Severity: Minor
    Found in app/Http/Controllers/AttendanceController.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status