Przeglądaj źródła

Consistently return void

Jordi Boggiano 5 lat temu
rodzic
commit
c5ce4de89e
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/Composer/Util/Filesystem.php

+ 3 - 1
src/Composer/Util/Filesystem.php

@@ -310,7 +310,9 @@ class Filesystem
         }
         }
 
 
         if (!function_exists('proc_open')) {
         if (!function_exists('proc_open')) {
-            return $this->copyThenRemove($source, $target);
+            $this->copyThenRemove($source, $target);
+            
+            return;
         }
         }
 
 
         if (Platform::isWindows()) {
         if (Platform::isWindows()) {