invisnik/laravel-steam-inventory

View on GitHub

Showing 2 of 2 total issues

Method parseItemDescriptions has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function parseItemDescriptions(Collection $data): Collection
    {
        $items = $this->collection->make();

        if ($data->count() == 0) {
Severity: Minor
Found in src/SteamInventory.php - About 1 hr to fix

    Method steamApiUrl has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private function steamApiUrl($steamId, $appId, $contextId, $lang = 'english', $tradable = true): string
    Severity: Minor
    Found in src/SteamInventory.php - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language