EscolaLMS/H5P

View on GitHub
src/Repositories/H5PContentRepository.php

Summary

Maintainability
A
1 hr
Test Coverage
A
92%

Method edit has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function edit(int $id, string $library, string $params, string $nonce): int
    {
        $content = H5PContent::where('id', $id)->first();
        $previousLib = H5PLibrary::where('id', $content->library_id)->first();

Severity: Minor
Found in src/Repositories/H5PContentRepository.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status