Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Sep 4, 2024
1 parent 0ee73b3 commit 6a18575
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DataFixtures/DownloadFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ private function populateGlobalStats(): void
for ($major = 7; $major <= 8; $major++) {
for ($minor = 0; $minor <= 4; $minor++) {
$phpMinorPlatform = $major.'.'.$minor;
$this->redis->hset('php:'.$phpMinorPlatform.':days', $day, $downloads + random_int(0, $major * $minor * 5));
$this->redis->hset('php:'.$phpMinorPlatform.':months', $month, $downloads + random_int(0, $major * $minor * 5));
$this->redis->hset('php:'.$phpMinorPlatform.':days', $day, (string) ($downloads + random_int(0, $major * $minor * 5)));
$this->redis->hset('php:'.$phpMinorPlatform.':months', $month, (string) ($downloads + random_int(0, $major * $minor * 5)));
}
}

Expand Down

0 comments on commit 6a18575

Please sign in to comment.