From c5ce4de89eb58c17e1a0ac331b904afc02da2dfb Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 28 Feb 2020 22:27:53 +0100 Subject: [PATCH] Consistently return void --- src/Composer/Util/Filesystem.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index e305b03b5..008ed584a 100644 --- a/src/Composer/Util/Filesystem.php +++ b/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()) {