Преглед на файлове

[FrameworkBundle] Fixed typo

Artur Kotyrba преди 14 години
родител
ревизия
1985333583
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php

+ 1 - 1
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);