Przeglądaj źródła

[Downloader] fixed incorrect variable name in FileDownloader class.

Hugo Hamon 13 lat temu
rodzic
commit
535455606b
1 zmienionych plików z 1 dodań i 1 usunięć
  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);
         }