Commit e256a66b authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #562 from ProgerXP/patch-lang

Lang::__construct(): turn non-array $replacements into an array
parents c2ed9e34 5019d05e
...@@ -51,7 +51,7 @@ class Lang { ...@@ -51,7 +51,7 @@ class Lang {
{ {
$this->key = $key; $this->key = $key;
$this->language = $language; $this->language = $language;
$this->replacements = $replacements; $this->replacements = (array) $replacements;
} }
/** /**
......
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