EscolaLMS/Courses

View on GitHub
src/Http/Resources/Admin/CourseWithProgramAdminResource.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method toArray has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function toArray($request): array
    {
        $this->withoutWrapping();

        $course = $this->getResource();
Severity: Minor
Found in src/Http/Resources/Admin/CourseWithProgramAdminResource.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status