Passed
Push — master ( efbc83...6e9172 )
by Alexander
02:38
created
src/Provider/TranslatorBladeProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * Bootstrap any application services.
24 24
      */
25 25
     public function boot() {
26
-        Blade::directive('translate', function ($expression) {
26
+        Blade::directive('translate', function($expression) {
27 27
 
28 28
                 $expression = $this->stripParentheses($expression);
29 29
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             }
33 33
         );
34 34
 
35
-        Blade::directive('t', function ($expression) {
35
+        Blade::directive('t', function($expression) {
36 36
 
37 37
                 $expression = $this->stripParentheses($expression);
38 38
 
Please login to merge, or discard this patch.
src/Controllers/TranslatorAdminController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      * @param $state string 'enabled|disabled'
165 165
      * @return \Illuminate\Http\RedirectResponse
166 166
      */
167
-    public function changeLiveMode ($state) {
167
+    public function changeLiveMode($state) {
168 168
         if ($state == 'enable') {
169 169
             session(['translation_live_mode' => true]);
170 170
         } else {
Please login to merge, or discard this patch.
src/migrations/2017_11_27_162357_create_translator_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
         DB::beginTransaction();
26 26
 
27 27
         // Create table for storing roles
28
-        Schema::create('translation_identifiers', function (Blueprint $table) {
28
+        Schema::create('translation_identifiers', function(Blueprint $table) {
29 29
             $table->increments('id')->unique();
30 30
             $table->text('identifier');
31 31
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         });
40 40
 
41 41
         // Create table for storing roles
42
-        Schema::create('translations', function (Blueprint $table) {
42
+        Schema::create('translations', function(Blueprint $table) {
43 43
             $table->integer('translation_identifier_id')->unsigned();
44 44
             $table->foreign('translation_identifier_id')->references('id')->on('translation_identifiers')->onDelete('no action')->onUpdate('no action');
45 45
 
Please login to merge, or discard this patch.
src/Translator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
 
183 183
             $keys = [];
184 184
             if (is_array($parameters)) {
185
-                foreach($parameters as $key => $value) {
185
+                foreach ($parameters as $key => $value) {
186 186
                     $keys[] = $key;
187 187
                 }
188 188
             }
Please login to merge, or discard this patch.