From 198533358322b3b5dc66df4daf070c5b61cb7883 Mon Sep 17 00:00:00 2001 From: Artur Kotyrba Date: Sun, 8 May 2011 21:02:16 +0200 Subject: [PATCH] [FrameworkBundle] Fixed typo --- src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php b/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php index 87049b616a..7bbe983c26 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php +++ b/src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php @@ -59,7 +59,7 @@ class Translator extends BaseTranslator // check option names 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);