Passed
Push — master ( 9ec524...3c5ee3 )
by Alexander
02:35
created
src/Handler/DefaultHandler.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,21 +16,27 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Controllers/TranslatorAdminController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.