Преглед на файлове

[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);
         }