diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index db5d5a0da..61d77523f 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -823,7 +823,7 @@ class RemoteFilesystem $result = file_get_contents('compress.zlib://data:application/octet-stream;base64,'.base64_encode($result)); } - if (!$result) { + if ($result === false) { throw new TransportException('Failed to decode zlib stream'); } }