@@ -612,7 +612,7 @@ |
||
612 | 612 | * the name of the field |
613 | 613 | * @param string $key |
614 | 614 | * the value of the key |
615 | - * @param mixed $value |
|
615 | + * @param string $value |
|
616 | 616 | * the new value |
617 | 617 | */ |
618 | 618 | public function setField($name, $key, $value) { |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * the available locales |
103 | 103 | */ |
104 | 104 | protected function initLocales(Container $app) { |
105 | - $locales = $this->getLocales(); |
|
105 | + $locales = $this->getLocales(); |
|
106 | 106 | $app->extend('translator', function(Translator $translator) use ($locales) { |
107 | 107 | $translator->addLoader('yaml', new YamlFileLoader()); |
108 | 108 | $localeDir = __DIR__.'/../locales'; |