소스 검색

Fix fatal error if class is not specified

Sebastian Kurfuerst 13 년 전
부모
커밋
03e627e444
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Installer/InstallerInstaller.php

+ 1 - 1
src/Composer/Installer/InstallerInstaller.php

@@ -53,7 +53,7 @@ class InstallerInstaller extends LibraryInstaller
     {
         $extra = $package->getExtra();
         if (empty($extra['class'])) {
-            throw new \UnexpectedValueException('Error while installing '.$target->getPrettyName().', composer-installer packages should have a class defined in their extra key to be usable.');
+            throw new \UnexpectedValueException('Error while installing '.$package->getPrettyName().', composer-installer packages should have a class defined in their extra key to be usable.');
         }
 
         parent::install($package);