@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param $locale |
50 | 50 | */ |
51 | 51 | function __construct($locale) { |
52 | - $this->locale = $locale; |
|
52 | + $this->locale = $locale; |
|
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $translations = $translations->leftJoin('translations', function($join) |
60 | 60 | { |
61 | 61 | $join->on('translation_identifiers.id', '=', 'translations.translation_identifier_id') |
62 | - ->where('locale', $this->locale); |
|
62 | + ->where('locale', $this->locale); |
|
63 | 63 | } |
64 | 64 | )->get(); |
65 | 65 |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $locale_dir = TranslatorFacade::getConfigValue('cache_path') . $this->locale; |
61 | 61 | |
62 | 62 | try { |
63 | - $trans_identifier = json_decode(file_get_contents($locale_dir . '/' . $group . '.json'), true); |
|
63 | + $trans_identifier = json_decode(file_get_contents($locale_dir . '/' . $group . '.json'), true); |
|
64 | 64 | } catch (\ErrorException $e) { |
65 | 65 | throw new TranslationCacheNotFound("The Translation cache file '" . $locale_dir . '/' . $group . '.json' . "' could not be found!"); |
66 | 66 | } |
@@ -128,12 +128,12 @@ |
||
128 | 128 | return $translation; |
129 | 129 | } |
130 | 130 | |
131 | - /** |
|
132 | - * Sets the Handler |
|
133 | - * |
|
134 | - * @param $locale |
|
135 | - * @return DefaultHandler |
|
136 | - */ |
|
131 | + /** |
|
132 | + * Sets the Handler |
|
133 | + * |
|
134 | + * @param $locale |
|
135 | + * @return DefaultHandler |
|
136 | + */ |
|
137 | 137 | protected function createHandler($locale) { |
138 | 138 | $handler_class = $this->config['handler']; |
139 | 139 |