EscolaLMS/Auth

View on GitHub
src/Http/Resources/UserResource.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

    public function toArray($request)
    {
        $fields = array_filter([
            'id' => $this->id,
            'name' => $this->name,
Severity: Minor
Found in src/Http/Resources/UserResource.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status