app/Entities/Controllers/BookshelfController.php
Method show
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function show(Request $request, ActivityQueries $activities, string $slug)
{
$shelf = $this->queries->findVisibleBySlugOrFail($slug);
$this->checkOwnablePermission('bookshelf-view', $shelf);
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected BookshelfRepo $shelfRepo,
protected BookshelfQueries $queries,
protected BookQueries $bookQueries,
protected ShelfContext $shelfContext,
protected ReferenceFetcher $referenceFetcher,