src/Http/Controllers/VoyagerController.php
Method getThumbnailOptions
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getThumbnailOptions(Request $request): DynamicInput
{
$method = $request->input('method', 'fit');
$select = (new DynamicInput())
Method globalSearch
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function globalSearch(Request $request): ?array
{
$q = $request->get('query');
$results = [];
$this->breadmanager->getBreads()->each(function ($bread) use ($q, &$results) {