Sjaakmoes/Dotapi2

View on GitHub

Showing 3 of 3 total issues

Client has 26 functions (exceeds 20 allowed). Consider refactoring.
Open

class Client
{

    /**
     * DotA 2 Steam API App ID
Severity: Minor
Found in src/Dotapi2/Client.php - About 3 hrs to fix

    Method __construct has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function __construct($fantasyLeagueId, $accountId = null, $startTime = null, $endTime = null, $matchId = null, $seriesId = null)
    Severity: Minor
    Found in src/Dotapi2/Filters/FantasyPlayerStats.php - About 45 mins to fix

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

          public function __construct($body, $statusCode, array $headers, Request $request, HttpClientInterface $client)
      Severity: Minor
      Found in src/Dotapi2/HttpClients/Message/Response.php - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language