@@ -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 | /** |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | $locale_dir = TranslatorFacade::getConfigValue('cache_path').$this->locale; |
| 62 | 62 | |
| 63 | 63 | try { |
| 64 | - $trans_identifier = json_decode(file_get_contents($locale_dir.'/'.$group.'.json'), true); |
|
| 64 | + $trans_identifier = json_decode(file_get_contents($locale_dir.'/'.$group.'.json'), true); |
|
| 65 | 65 | } catch (\ErrorException $e) { |
| 66 | 66 | throw new TranslationCacheNotFound("The Translation cache file '".$locale_dir.'/'.$group.'.json'."' could not be found!"); |
| 67 | 67 | } |
@@ -131,12 +131,12 @@ |
||
| 131 | 131 | return $translation; |
| 132 | 132 | } |
| 133 | 133 | |
| 134 | - /** |
|
| 135 | - * Sets the Handler |
|
| 136 | - * |
|
| 137 | - * @param $locale |
|
| 138 | - * @return DefaultHandler |
|
| 139 | - */ |
|
| 134 | + /** |
|
| 135 | + * Sets the Handler |
|
| 136 | + * |
|
| 137 | + * @param $locale |
|
| 138 | + * @return DefaultHandler |
|
| 139 | + */ |
|
| 140 | 140 | protected function createHandler($locale) |
| 141 | 141 | { |
| 142 | 142 | $handler_class = $this->config['handler']; |