make dane and styleci happy

This commit is contained in:
Jakob Schrettenbrunner 2017-02-03 00:08:10 +01:00
parent 7f0608d412
commit 7f1000dd8a
3 changed files with 3 additions and 5 deletions

View file

@ -40,6 +40,7 @@ class PhraseAppTranslator extends LaravelTranslator
public function get($key, array $replace = [], $locale = null, $fallback = true)
{
$key = substr($key, strpos($key, '.') + 1);
return "{{__phrase_${key}__}}";
}
}