EscolaLMS/H5P

View on GitHub
src/Repositories/H5PContentRepository.php

Summary

Maintainability
A
1 hr
Test Coverage
A
90%

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

    public function edit(int $id, string $library, string $params, string $nonce): int
    {
        $libNames = $this->hh5pService->getCore()->libraryFromString($library);

        $libDb = H5PLibrary::where([
Severity: Minor
Found in src/Repositories/H5PContentRepository.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status