Completed
Pull Request — master (#203)
by Sergi Tur
03:52
created
routes/web.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Route::get('/', function () {
14
+Route::get('/', function() {
15 15
     return view('welcome');
16 16
 });
17 17
 
18
-Route::group(['middleware' => 'auth'], function () {
18
+Route::group([ 'middleware' => 'auth' ], function() {
19 19
     //    Route::get('/link1', function ()    {
20 20
 //        // Uses Auth Middleware
21 21
 //    });
Please login to merge, or discard this patch.
src/Console/MakeVC.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function handle()
39 39
     {
40
-        $this->info('Running command ' . $command = $this->command());
40
+        $this->info('Running command '.$command = $this->command());
41 41
         passthru($command);
42 42
     }
43 43
 
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
      */
49 49
     protected function command()
50 50
     {
51
-        $api = $this->option('api') ? ' --api '  : '';
52
-        $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : '';
53
-        return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') .
54
-            ' --method=' . $this->option('method') .
55
-            $api .
51
+        $api = $this->option('api') ? ' --api ' : '';
52
+        $action = $this->argument('action') ? ' '.$this->argument('action').' ' : '';
53
+        return 'php artisan make:route '.$this->argument('link').$action.' --type='.$this->option('type').
54
+            ' --method='.$this->option('method').
55
+            $api.
56 56
             ' -a --menu';
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
public/plugins/ssp.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
 // parameter represents the DataTables column identifier. In this case simple
30 30
 // indexes
31 31
 $columns = array(
32
-    array( 'db' => 'id',         'dt' => 0 ),
33
-    array( 'db' => 'firstname',  'dt' => 1 ),
34
-    array( 'db' => 'surname',    'dt' => 2 ),
35
-    array( 'db' => 'zip',        'dt' => 3 ),
36
-    array( 'db' => 'country',    'dt' => 4 )
32
+    array('db' => 'id', 'dt' => 0),
33
+    array('db' => 'firstname', 'dt' => 1),
34
+    array('db' => 'surname', 'dt' => 2),
35
+    array('db' => 'zip', 'dt' => 3),
36
+    array('db' => 'country', 'dt' => 4)
37 37
 );
38 38
 
39 39
 // SQL server connection information
Please login to merge, or discard this patch.
public/plugins/posteddata.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@
 block discarded – undo
32 32
         }
33 33
 
34 34
         if (get_magic_quotes_gpc()) {
35
-            $value = htmlspecialchars(stripslashes((string)$value));
35
+            $value = htmlspecialchars(stripslashes((string) $value));
36 36
         } else {
37
-            $value = htmlspecialchars((string)$value);
37
+            $value = htmlspecialchars((string) $value);
38 38
         } ?>
39 39
 		<tr>
40
-			<th style="vertical-align: top"><?php echo htmlspecialchars((string)$key); ?></th>
40
+			<th style="vertical-align: top"><?php echo htmlspecialchars((string) $key); ?></th>
41 41
 			<td><pre class="samples"><?php echo $value; ?></pre></td>
42 42
 		</tr>
43 43
 	<?php
Please login to merge, or discard this patch.