Skip to content

Commit

Permalink
Merge pull request #7 from rift-ga/analysis-N4mO3E
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lozynskiadam authored Nov 12, 2022
2 parents edfc03e + 1b92939 commit 5f3f740
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/Apis/League/V4/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function getLeagueEntries(Queue $queue, Tier $tier, Division $division, i
'{division}' => $division->name,
],
queryParams: [
'page' => $page
'page' => $page,
],
);

Expand Down
11 changes: 6 additions & 5 deletions src/Apis/League/V4/Contents/LeagueEntryDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Rift\RiotApi\Abstracts\BaseContent;

/**
* @property int $summonerId Player's encrypted summonerId.
* @property string $rank The player's division within a tier.
* @property int $wins Winning team on Summoners Rift.
* @property int $losses Losing team on Summoners Rift.
* @property int $summonerId Player's encrypted summonerId.
* @property string $rank The player's division within a tier.
* @property int $wins Winning team on Summoners Rift.
* @property int $losses Losing team on Summoners Rift.
*/
class LeagueEntryDto extends BaseContent
{
Expand All @@ -27,5 +27,6 @@ final protected function __construct(
public readonly bool $freshBlood,
public readonly bool $inactive,
public readonly ?MiniSeriesDto $miniSeries = null,
) {}
) {
}
}
7 changes: 4 additions & 3 deletions src/Apis/League/V4/Contents/LeagueItemDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use Rift\RiotApi\Abstracts\BaseContent;

/**
* @property int $wins Winning team on Summoners Rift.
* @property int $losses Losing team on Summoners Rift.
* @property int $wins Winning team on Summoners Rift.
* @property int $losses Losing team on Summoners Rift.
* @property int $summonerId Player's encrypted summonerId.
*/
class LeagueItemDto extends BaseContent
Expand All @@ -23,5 +23,6 @@ final protected function __construct(
public readonly int $leaguePoints,
public readonly int $losses,
public readonly string $summonerId,
) {}
) {
}
}
3 changes: 2 additions & 1 deletion src/Apis/League/V4/Contents/LeagueListDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ final protected function __construct(
public readonly string $tier,
public readonly string $name,
public readonly string $queue,
) {}
) {
}
}
3 changes: 2 additions & 1 deletion src/Apis/League/V4/Contents/MiniSeriesDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ final protected function __construct(
public readonly string $progress,
public readonly int $target,
public readonly int $wins,
) {}
) {
}
}
8 changes: 4 additions & 4 deletions src/Apis/LeagueExp/V4/Contents/LeagueEntryDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Rift\RiotApi\Abstracts\BaseContent;

/**
* @property int $summonerId Player's summonerId (encrypted).
* @property string $rank The player's division within a tier.
* @property int $wins Winning team on Summoners Rift. First placement in Teamfight Tactics.
* @property int $losses Losing team on Summoners Rift. Second through eighth placement in Teamfight Tactics.
* @property int $summonerId Player's summonerId (encrypted).
* @property string $rank The player's division within a tier.
* @property int $wins Winning team on Summoners Rift. First placement in Teamfight Tactics.
* @property int $losses Losing team on Summoners Rift. Second through eighth placement in Teamfight Tactics.
*/
class LeagueEntryDto extends BaseContent
{
Expand Down

0 comments on commit 5f3f740

Please sign in to comment.