소스 검색

Fix use statement..woops

Jordi Boggiano 9 년 전
부모
커밋
31bdf50ce0
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Packagist/WebBundle/Controller/Controller.php

+ 2 - 2
src/Packagist/WebBundle/Controller/Controller.php

@@ -15,7 +15,7 @@ namespace Packagist\WebBundle\Controller;
 use Symfony\Bundle\FrameworkBundle\Controller\Controller as BaseController;
 use Pagerfanta\Adapter\DoctrineORMAdapter;
 use Pagerfanta\Pagerfanta;
-use Packagist\Entity\Package;
+use Packagist\WebBundle\Entity\Package;
 
 /**
  * @author Jordi Boggiano <j.boggiano@seld.be>
@@ -47,7 +47,7 @@ class Controller extends BaseController
                     $solarium = true;
                     $ids[] = $package['id'];
                 } else {
-                    throw new \LogicException();
+                    throw new \LogicException('Got invalid package entity');
                 }
             }