app/Models/Folders/Popular.php
Method getBuilder
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function getBuilder(string $model): Builder
{
$builder = (new $model())->newQuery();
$groups = [
The method getBuilder() has 103 lines of code. Current threshold is set to 100. Avoid really long methods. Open
Open
protected function getBuilder(string $model): Builder
{
$builder = (new $model())->newQuery();
$groups = [
- Exclude checks