Sfoglia il codice sorgente

Consistently return void

Jordi Boggiano 5 anni fa
parent
commit
c5ce4de89e
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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')) {
-            return $this->copyThenRemove($source, $target);
+            $this->copyThenRemove($source, $target);
+            
+            return;
         }
 
         if (Platform::isWindows()) {