Skip to content

Commit

Permalink
Fixing wierd bug
Browse files Browse the repository at this point in the history
  • Loading branch information
moufmouf committed Nov 16, 2016
1 parent 4a11987 commit bd90f91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mouf/Packanalyst/Services/PackagistScoreService.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function updateAllScores()
$result = $this->request($i);

foreach ($result['results'] as $packageResult) {
$packageResult = (array) $packageResult;
$packages = $this->packageDao->getPackagesByName($packageResult['name']);
foreach ($packages as $package) {
$package['downloads'] = $packageResult['downloads'];
Expand Down

0 comments on commit bd90f91

Please sign in to comment.