Skip to content

Commit

Permalink
fix: PHPStan DocTypes.
Browse files Browse the repository at this point in the history
xiCO2k committed May 28, 2022
1 parent 6e79557 commit 6a0fcf2
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Commands/GamesCommand.php
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ public function handle(Scores $scores): void
}

/**
* @param $sportsToShow string[]
* @params string[] $sportsToShow
*/
private function getScores(array $sportsToShow = []): array
{
2 changes: 1 addition & 1 deletion app/Scores.php
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ class Scores
/**
* Gets the Scores from the multiple sports available.
*
* @param $sportsToShow string[]
* @param string[] $sportsToShow
* @return array<string, Collection>
*/
public function getScores(array $sportsToShow = []): array

0 comments on commit 6a0fcf2

Please sign in to comment.