@@ -144,12 +144,12 @@ |
||
| 144 | 144 | return $translation; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | - /** |
|
| 148 | - * Sets the Handler |
|
| 149 | - * |
|
| 150 | - * @param $locale |
|
| 151 | - * @return HandlerInterface |
|
| 152 | - */ |
|
| 147 | + /** |
|
| 148 | + * Sets the Handler |
|
| 149 | + * |
|
| 150 | + * @param $locale |
|
| 151 | + * @return HandlerInterface |
|
| 152 | + */ |
|
| 153 | 153 | protected function createHandler($locale) |
| 154 | 154 | { |
| 155 | 155 | // Get the Handler class from config file |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $translations = $translations->leftJoin('translations', function ($join) |
| 82 | 82 | { |
| 83 | 83 | $join->on( 'translation_identifiers.id', '=', 'translations.translation_identifier_id') |
| 84 | - ->where('locale', $this->locale); |
|
| 84 | + ->where('locale', $this->locale); |
|
| 85 | 85 | } |
| 86 | 86 | )->get(); |
| 87 | 87 | |
@@ -82,7 +82,7 @@ |
||
| 82 | 82 | |
| 83 | 83 | // If a Group is defined just get the translations from that group |
| 84 | 84 | try { |
| 85 | - $trans_identifier = json_decode(file_get_contents($locale_dir.'/'.$group.'.json'), true); |
|
| 85 | + $trans_identifier = json_decode(file_get_contents($locale_dir.'/'.$group.'.json'), true); |
|
| 86 | 86 | } catch (\ErrorException $e) { |
| 87 | 87 | throw new TranslationCacheNotFound("The Translation cache file '".$locale_dir.'/'.$group.'.json'."' could not be found!"); |
| 88 | 88 | } |