src/Repositories/H5PContentRepository.php
Method edit
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function edit(int $id, string $library, string $params, string $nonce): int
{
$libNames = $this->hh5pService->getCore()->libraryFromString($library);
$libDb = H5PLibrary::where([