EscolaLMS/H5P

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

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

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

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

    There are no issues that match your filters.

    Category
    Status