Passed
Branch master (b3bcb6)
by Alexander
02:29
created
src/Handler/DefaultHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Handler/CacheJSONHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Translator.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -131,12 +131,12 @@
 block discarded – undo
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'];
Please login to merge, or discard this patch.