Merge remote branch 'udat/translator-typo'

* udat/translator-typo:
  [FrameworkBundle] Fixed typo
This commit is contained in:
Fabien Potencier 2011-05-09 09:01:26 +02:00
commit e1e365d75a

View File

@ -59,7 +59,7 @@ class Translator extends BaseTranslator
// check option names // check option names
if ($diff = array_diff(array_keys($options), array_keys($this->options))) { if ($diff = array_diff(array_keys($options), array_keys($this->options))) {
throw new \InvalidArgumentException(sprintf('The Router does not support the following options: \'%s\'.', implode('\', \'', $diff))); throw new \InvalidArgumentException(sprintf('The Translator does not support the following options: \'%s\'.', implode('\', \'', $diff)));
} }
$this->options = array_merge($this->options, $options); $this->options = array_merge($this->options, $options);