Skip to content

Commit

Permalink
Fix stickler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepRoebroek committed Jan 31, 2017
1 parent 049c54e commit 25cba6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/I18n/TranslatorFactory.php
Expand Up @@ -37,7 +37,7 @@ class TranslatorFactory extends BaseTranslatorFactory
* Returns a new Translator.
* @param string $locale The locale code for the translator.
* @param array $messages The localized messages for the translator.
* @param FormatterInterface $formatter The formatter to use for
* @param FormatterInterface $formatter The formatter to use for
* interpolating token values.
* @param TranslatorInterface $fallback A fallback translator to use, if
* any.
Expand All @@ -57,6 +57,7 @@ public function newInstance(
get_class($fallback)
));
}

return new $class($locale, $messages, $formatter, $fallback);
}
}

0 comments on commit 25cba6f

Please sign in to comment.