reverting the error on line 196 in /core/vendor/guzzlehttp/streams/src/functions.php