Passed
Push — master ( b3bcb6...efbc83 )
by Alexander
02:47
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/DatabaseHandler.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $translations = $translations->leftJoin('translations', function($join)
60 60
             {
61 61
                 $join->on('translation_identifiers.id', '=', 'translations.translation_identifier_id')
62
-                     ->where('locale', $this->locale);
62
+                        ->where('locale', $this->locale);
63 63
             }
64 64
             )->get();
65 65
 
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
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $locale_dir = TranslatorFacade::getConfigValue('cache_path') . $this->locale;
61 61
 
62 62
         try {
63
-             $trans_identifier = json_decode(file_get_contents($locale_dir . '/' . $group . '.json'), true);
63
+                $trans_identifier = json_decode(file_get_contents($locale_dir . '/' . $group . '.json'), true);
64 64
         } catch (\ErrorException $e) {
65 65
             throw new TranslationCacheNotFound("The Translation cache file '" . $locale_dir . '/' . $group . '.json' . "' could not be found!");
66 66
         }
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
@@ -128,12 +128,12 @@
 block discarded – undo
128 128
         return $translation;
129 129
     }
130 130
 
131
-     /**
132
-      * Sets the Handler
133
-      *
134
-      * @param $locale
135
-      * @return DefaultHandler
136
-      */
131
+        /**
132
+         * Sets the Handler
133
+         *
134
+         * @param $locale
135
+         * @return DefaultHandler
136
+         */
137 137
     protected function createHandler($locale) {
138 138
         $handler_class = $this->config['handler'];
139 139
 
Please login to merge, or discard this patch.