diff --git a/PhpAmqpLib/Wire/IO/StreamIO.php b/PhpAmqpLib/Wire/IO/StreamIO.php
index <HASH>..<HASH> 100644
--- a/PhpAmqpLib/Wire/IO/StreamIO.php
+++ b/PhpAmqpLib/Wire/IO/StreamIO.php
@@ -309,7 +309,7 @@ class StreamIO extends AbstractIO
                 $buffer = fwrite($this->sock, mb_substr($data, $written, 8192, 'ASCII'), 8192);
                 $this->cleanup_error_handler();
             } catch (\ErrorException $e) {
-                throw new AMQPRuntimeException($e->getMessage(). $e->getCode(), $e);
+                throw new AMQPRuntimeException($e->getMessage(), $e->getCode(), $e);
             }
 
             if ($buffer === false) {
Fixed typo that may cause fatal error in runtime due to incorrect arguments being passed. Fixes #<I>