瀏覽代碼

[Downloader] fixed incorrect variable name in FileDownloader class.

Hugo Hamon 13 年之前
父節點
當前提交
535455606b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/Downloader/FileDownloader.php

+ 1 - 1
src/Composer/Downloader/FileDownloader.php

@@ -75,7 +75,7 @@ abstract class FileDownloader implements DownloaderInterface
                 ),
             ));
 
-            copy($url, $filename, $ctx);
+            copy($url, $fileName, $ctx);
         } else {
             copy($url, $fileName);
         }