Browse Source

added missing var declaration

Fabien Potencier 8 năm trước cách đây
mục cha
commit
b502a35fc1
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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);
                 }