From 53f631807719b6600c326d185a1402c35be5afd0 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Wed, 31 Dec 2014 10:41:49 +0100 Subject: [PATCH] zendframework/zf2#6775 - `messageEOL` should be a `string` when set --- src/Storage/Mbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Storage/Mbox.php b/src/Storage/Mbox.php index a841382a..accf0fff 100644 --- a/src/Storage/Mbox.php +++ b/src/Storage/Mbox.php @@ -199,7 +199,7 @@ public function __construct($params) } if (isset($params->messageEOL)) { - $this->messageEOL = $params->messageEOL; + $this->messageEOL = (string) $params->messageEOL; } $this->openMboxFile($params->filename);