Commit b5207ee2 by Taylor Otwell

cast the error messages to an array.

parent 1c6f15a9
...@@ -18,7 +18,7 @@ class Messages { ...@@ -18,7 +18,7 @@ class Messages {
*/ */
public function __construct($messages = array()) public function __construct($messages = array())
{ {
$this->messages = $messages; $this->messages = (array) $messages;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment