소스 검색

Consistently return void

Jordi Boggiano 5 년 전
부모
커밋
c5ce4de89e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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()) {