Browse Source

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

xaav 14 years ago
parent
commit
c3e9eaee96
1 changed files with 2 additions and 1 deletions
  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\Tag;
 use Packagist\WebBundle\Entity\Author;
 use Packagist\WebBundle\Entity\Author;
 use Packagist\WebBundle\Entity\Requirement;
 use Packagist\WebBundle\Entity\Requirement;
+use Packagist\WebBundle\Repository\Repository\RepositoryInterface;
 
 
 /**
 /**
  * @author Jordi Boggiano <j.boggiano@seld.be>
  * @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);
         $data = $repository->getComposerInformation($identifier);
         $em = $doctrine->getEntityManager();
         $em = $doctrine->getEntityManager();