소스 검색

added missing var declaration

Fabien Potencier 8 년 전
부모
커밋
b502a35fc1
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Composer/Plugin/PluginManager.php

+ 1 - 0
src/Composer/Plugin/PluginManager.php

@@ -183,6 +183,7 @@ class PluginManager
                 $path = $classLoader->findFile($class);
                 $code = file_get_contents($path);
                 $separatorPos = strrpos($class, '\\');
+                $className = $class;
                 if ($separatorPos) {
                     $className = substr($class, $separatorPos + 1);
                 }