Browse Source

Merge remote-tracking branch 'origin/master'

Jordi Boggiano 14 năm trước cách đây
mục cha
commit
d61b07d00d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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();