Skip to content

Commit

Permalink
Add PHP types to private methods and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and nicolas-grekas committed Feb 13, 2023
1 parent 44ec57e commit bab69a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UrlPackage.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected function chooseBaseUrl(string $path): int
return abs(crc32($path)) % \count($this->baseUrls);
}

private function getSslUrls(array $urls)
private function getSslUrls(array $urls): array
{
$sslUrls = [];
foreach ($urls as $url) {
Expand Down

0 comments on commit bab69a9

Please sign in to comment.