Showing 3 of 5 total issues
File StatisticType.php
has 358 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
declare(strict_types=1);
namespace R6API\Client\Api\Type;
Method get
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get(string $platform, string $region, int $season, array $profileIds): array
{
$parameters = [];
// check $platform is part of PlatformType enum
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Authentication $authentication,
ProfileApiInterface $profileApi,
ProgressionApiInterface $progressionApi,
StatisticApiInterface $statisticApi,
RankApiInterface $rankApi