ezralazuardy/heimdall

View on GitHub

Showing 3 of 3 total issues

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

        ClientRepositoryInterface $clientRepository,
        AccessTokenRepositoryInterface $accessTokenRepository,
        ScopeRepositoryInterface $scopeRepository,
        $privateKey,
        ?ResponseTypeInterface $responseType
Severity: Minor
Found in src/Config/HeimdallAuthorizationConfig.php - About 35 mins to fix

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

            ClientRepositoryInterface $clientRepository,
            AccessTokenRepositoryInterface $accessTokenRepository,
            ScopeRepositoryInterface $scopeRepository,
            $privateKey,
            ResponseTypeInterface $responseType = null
    Severity: Minor
    Found in src/Heimdall.php - About 35 mins to fix

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

              AuthCodeRepositoryInterface $authCodeRepository,
              RefreshTokenRepositoryInterface $refreshTokenRepository,
              string $authCodeTTL = 'PT10M',
              string $refreshTokenTTL = 'P1M',
              string $accessTokenTTL = 'PT1H'
      Severity: Minor
      Found in src/Heimdall.php - About 35 mins to fix
        Severity
        Category
        Status
        Source
        Language