Jordi Boggiano 8 years ago
parent
commit
807eea08f3
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/Packagist/WebBundle/Entity/Package.php

+ 5 - 5
src/Packagist/WebBundle/Entity/Package.php

@@ -203,11 +203,11 @@ class Package
             'versions' => $versions,
             'type' => $this->getType(),
             'repository' => $this->getRepository(),
-            'github_stars' => $package->getGitHubStars(),
-            'github_watchers' => $package->getGitHubWatches(),
-            'github_forks' => $package->getGitHubForks(),
-            'github_open_issues' => $package->getGitHubOpenIssues(),
-            'language' => $package->getLanguage(),
+            'github_stars' => $this->getGitHubStars(),
+            'github_watchers' => $this->getGitHubWatches(),
+            'github_forks' => $this->getGitHubForks(),
+            'github_open_issues' => $this->getGitHubOpenIssues(),
+            'language' => $this->getLanguage(),
         );
 
         if ($this->isAbandoned()) {