소스 검색

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

xaav 14 년 전
부모
커밋
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();