diff --git a/laravel/lang.php b/laravel/lang.php index de50cef5..33fe00cf 100644 --- a/laravel/lang.php +++ b/laravel/lang.php @@ -51,7 +51,7 @@ protected function __construct($key, $replacements = array(), $language = null) { $this->key = $key; $this->language = $language; - $this->replacements = $replacements; + $this->replacements = (array) $replacements; } /**