Passed
Branch master (988f4e)
by Alexander
05:45
created
src/Translator.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -144,12 +144,12 @@
 block discarded – undo
144 144
         return $translation;
145 145
     }
146 146
 
147
-     /**
148
-      * Sets the Handler
149
-      *
150
-      * @param $locale
151
-      * @return HandlerInterface
152
-      */
147
+        /**
148
+         * Sets the Handler
149
+         *
150
+         * @param $locale
151
+         * @return HandlerInterface
152
+         */
153 153
     protected function createHandler($locale)
154 154
     {
155 155
         // Get the Handler class from config file
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
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
         $translations = $translations->leftJoin('translations', function ($join)
82 82
             {
83 83
                 $join->on( 'translation_identifiers.id', '=', 'translations.translation_identifier_id')
84
-                     ->where('locale', $this->locale);
84
+                        ->where('locale', $this->locale);
85 85
             }
86 86
             )->get();
87 87
 
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
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 
83 83
         // If a Group is defined just get the translations from that group
84 84
         try {
85
-             $trans_identifier = json_decode(file_get_contents($locale_dir.'/'.$group.'.json'), true);
85
+                $trans_identifier = json_decode(file_get_contents($locale_dir.'/'.$group.'.json'), true);
86 86
         } catch (\ErrorException $e) {
87 87
             throw new TranslationCacheNotFound("The Translation cache file '".$locale_dir.'/'.$group.'.json'."' could not be found!");
88 88
         }
Please login to merge, or discard this patch.