瀏覽代碼

Edited src/Packagist/WebBundle/Command/UpdatePackagesCommand.php via GitHub

xaav 13 年之前
父節點
當前提交
c3e9eaee96
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/Packagist/WebBundle/Command/UpdatePackagesCommand.php

+ 2 - 1
src/Packagist/WebBundle/Command/UpdatePackagesCommand.php

@@ -23,6 +23,7 @@ use Packagist\WebBundle\Entity\Version;
 use Packagist\WebBundle\Entity\Tag;
 use Packagist\WebBundle\Entity\Author;
 use Packagist\WebBundle\Entity\Requirement;
+use Packagist\WebBundle\Repository\Repository\RepositoryInterface;
 
 /**
  * @author Jordi Boggiano <j.boggiano@seld.be>
@@ -90,7 +91,7 @@ EOF
         }
     }
 
-    protected function fetchInformation(OutputInterface $output, RegistryInterface $doctrine, $package, $repository, $identifier)
+    protected function fetchInformation(OutputInterface $output, RegistryInterface $doctrine, $package, RepositoryInterface $repository, $identifier)
     {
         $data = $repository->getComposerInformation($identifier);
         $em = $doctrine->getEntityManager();