@@ -16,21 +16,27 @@ |
||
16 | 16 | * |
17 | 17 | * Class TranslationNotFoundException |
18 | 18 | */ |
19 | -class TranslationNotFoundException extends \Exception {} |
|
19 | +class TranslationNotFoundException extends \Exception |
|
20 | +{ |
|
21 | +} |
|
20 | 22 | |
21 | 23 | /** |
22 | 24 | * Custom Exception to distinguish if the Translation Identifier was not found in Cache but could be in DB |
23 | 25 | * |
24 | 26 | * Class TranslationNotInCacheException |
25 | 27 | */ |
26 | -class TranslationNotInCacheException extends TranslationNotFoundException {} |
|
28 | +class TranslationNotInCacheException extends TranslationNotFoundException |
|
29 | +{ |
|
30 | +} |
|
27 | 31 | |
28 | 32 | /** |
29 | 33 | * Custom Exception thrown when a cache file could not be found |
30 | 34 | * |
31 | 35 | * Class TranslationCacheNotFound |
32 | 36 | */ |
33 | -class TranslationCacheNotFound extends \Exception {} |
|
37 | +class TranslationCacheNotFound extends \Exception |
|
38 | +{ |
|
39 | +} |
|
34 | 40 | |
35 | 41 | /** |
36 | 42 | * Interface HandlerInterface |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | |
140 | 140 | $translation_identifier = $translation_identifiers->find($id); |
141 | 141 | |
142 | - $translation_identifier->description = isset($identifier['description']) ? $identifier['description'] : null; |
|
142 | + $translation_identifier->description = isset($identifier['description']) ? $identifier['description'] : null; |
|
143 | 143 | |
144 | 144 | $translation_identifier->save(); |
145 | 145 | } |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * @param $state string 'enabled|disabled' |
160 | 160 | * @return \Illuminate\Http\RedirectResponse |
161 | 161 | */ |
162 | - public function changeLiveMode ($state) { |
|
162 | + public function changeLiveMode($state) { |
|
163 | 163 | if ($state == 'enable') { |
164 | 164 | session(['translation_live_mode' => true]); |
165 | 165 | } else { |