Showing 186 of 479 total issues
Avoid too many return
statements within this method. Open
Open
return 'Delivery Hangar';
Avoid too many return
statements within this method. Open
Open
return $row->container->station->name;
Avoid too many return
statements within this method. Open
Open
return $this->divisions->where('division', 6)->first()->name;
Avoid too many return
statements within this method. Open
Open
return $query->whereIntegerInRaw($table . '.character_id', $character_ids);
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 $collection->when($collection->isNotEmpty(), function ($ids) {
return $this->resolveInternalUniverseIDs($ids);
});
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
if ($permissions->filter(function ($permission) { return ! $permission->hasFilters(); })->isNotEmpty())
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 [
'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 $type->marketGroupID == Moon::EXCEPTIONAL;
Avoid too many return
statements within this method. Open
Open
return response()->json($this->response);
Avoid too many return
statements within this method. Open
Open
return $collection->when($collection->isNotEmpty(), function ($ids) {
return $this->resolveInternalAllianceIDs($ids);
});
Avoid too many return
statements within this method. Open
Open
return $this->moon_indicators ?: (object) [
'ubiquitous' => 0,
'common' => 0,
'uncommon' => 0,
'rare' => 0,
Avoid too many return
statements within this method. Open
Open
return $query->whereRaw('character_assets.name LIKE ?', ["%$search%"]);
Avoid too many return
statements within this method. Open
Open
return view('web::partials.type', [
'type_id' => $row->type->typeID,
'type_name' => $row->type->typeName,
'variation' => $row->type->group->categoryID == 9 ? 'bpc' : 'icon',
]);
Avoid too many return
statements within this method. Open
Open
return $table->make(true);
Avoid too many return
statements within this method. Open
Open
return ! in_array($type->marketGroupID, [Moon::UBIQUITOUS, Moon::COMMON, Moon::UNCOMMON, Moon::RARE, Moon::EXCEPTIONAL]);
Avoid too many return
statements within this method. Open
Open
return $collection->when($collection->isNotEmpty(), function ($ids) {
return $this->resolveInternalCorporationIDs($ids);
});
Avoid too many return
statements within this method. Open
Open
return response()->json([
'results' => $scopes,
]);