Showing 479 of 479 total issues
Avoid too many return
statements within this method. Open
Open
if ($permissions->filter(function ($permission) { return ! $permission->hasFilters(); })->isNotEmpty())
Avoid too many return
statements within this method. Open
Open
return $query;
Avoid too many return
statements within this method. Open
Open
return $query;
Avoid too many return
statements within this method. Open
Open
return $query->whereIntegerInRaw($table . '.alliance_id', $alliance_ids);
Avoid too many return
statements within this method. Open
Open
return sprintf('%d (%d)', $item->item_id, $item->location_id);
Avoid too many return
statements within this method. Open
Open
return $query;
Avoid too many return
statements within this method. Open
Open
return $query;
Avoid too many return
statements within this method. Open
Open
return [
'characters' => collect($filters->character ?? [])->pluck('id')->toArray(),
'corporations' => collect($filters->corporation ?? [])->pluck('id')->toArray(),
'alliances' => collect($filters->alliance ?? [])->pluck('id')->toArray(),
];
Avoid too many return
statements within this method. Open
Open
return $query;
Avoid too many return
statements within this method. Open
Open
return [
'characters' => collect($filters->character ?? [])->pluck('id')->toArray(),
'corporations' => collect($filters->corporation ?? [])->pluck('id')->toArray(),
'alliances' => collect($filters->alliance ?? [])->pluck('id')->toArray(),
];
Avoid too many return
statements within this method. Open
Open
return $row->name;
Avoid too many return
statements within this method. Open
Open
return ($row->location_flag == 'AutoFit' && $row->location_type == 'solar_system') ? 'In Space' : '';
Avoid too many return
statements within this method. Open
Open
return $row->container->container->structure->name;
Avoid too many return
statements within this method. Open
Open
return sprintf('%d (%d)', $row->item_id, $row->location_id);
Avoid too many return
statements within this method. Open
Open
return $row->structure->name;
Avoid too many return
statements within this method. Open
Open
return $permission->title == $this->ability;
Avoid too many return
statements within this method. Open
Open
return $collection->when($collection->isNotEmpty(), function ($ids) {
return $this->resolveInternalUniverseIDs($ids);
});
Avoid too many return
statements within this method. Open
Open
return $collection->when($collection->isNotEmpty(), function ($ids) {
return $this->resolveFactionIDs($ids);
});
Avoid too many return
statements within this method. Open
Open
return $collection->when($collection->isNotEmpty(), function ($ids) {
return $this->resolveInternalCharacterIDs($ids);
});
Avoid too many return
statements within this method. Open
Open
return $item->station->name;