Completed
Push — master ( becb2b...3f1ad0 )
by Sergi Tur
07:46
created
src/Http/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
  * Same configuration as Laravel 5.2:
4 4
  * See https://github.com/laravel/framework/blob/5.2/src/Illuminate/Auth/Console/stubs/make/routes.stub
5 5
  */
6
-Route::group(['middleware' => 'web'], function () {
6
+Route::group([ 'middleware' => 'web' ], function() {
7 7
     Route::auth();
8 8
 
9 9
     Route::get('/home', 'HomeController@index');
Please login to merge, or discard this patch.
public/plugins/datatables/extensions/Scroller/examples/data/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 = [
32
-    ['db' => 'id',         'dt' => 0],
33
-    ['db' => 'firstname',  'dt' => 1],
34
-    ['db' => 'surname',    'dt' => 2],
35
-    ['db' => 'zip',        'dt' => 3],
36
-    ['db' => 'country',    'dt' => 4],
32
+    [ 'db' => 'id', 'dt' => 0 ],
33
+    [ 'db' => 'firstname', 'dt' => 1 ],
34
+    [ 'db' => 'surname', 'dt' => 2 ],
35
+    [ 'db' => 'zip', 'dt' => 3 ],
36
+    [ 'db' => 'country', 'dt' => 4 ],
37 37
 ];
38 38
 
39 39
 // SQL server connection information
Please login to merge, or discard this patch.
src/Console/PublishAdminLTE.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,10 +118,10 @@
 block discarded – undo
118 118
     }
119 119
 
120 120
     /**
121
-     * @param $fileName
121
+     * @param string $fileName
122 122
      * @param string $prompt
123 123
      *
124
-     * @return bool
124
+     * @return string
125 125
      */
126 126
     protected function confirmOverwrite($fileName, $prompt = '')
127 127
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
                 $this->error("Can't locate path: <{$fileSrc}>");
144 144
             }
145 145
             copy($fileSrc, $fileDst);
146
-            $this->info('Copied file ' . $fileSrc . ' to ' . $fileDst );
146
+            $this->info('Copied file '.$fileSrc.' to '.$fileDst);
147 147
         }
148 148
     }
149 149
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      */
170 170
     protected function createParentDirectory($directory)
171 171
     {
172
-        if (! $this->files->isDirectory($directory)) {
172
+        if (!$this->files->isDirectory($directory)) {
173 173
             $this->files->makeDirectory($directory, 0755, true);
174 174
         }
175 175
     }
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     protected function publishFile($from, $to)
185 185
     {
186
-        if ($this->files->exists($to) && ! $this->option('force')) {
186
+        if ($this->files->exists($to) && !$this->option('force')) {
187 187
             return;
188 188
         }
189 189
         $this->createParentDirectory(dirname($to));
@@ -205,8 +205,8 @@  discard block
 block discarded – undo
205 205
             'to' => new Flysystem(new LocalAdapter($to)),
206 206
         ]);
207 207
         foreach ($manager->listContents('from://', true) as $file) {
208
-            if ($file['type'] === 'file' && (! $manager->has('to://'.$file['path']) || $this->option('force'))) {
209
-                $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path']));
208
+            if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]) || $this->option('force'))) {
209
+                $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ]));
210 210
             }
211 211
         }
212 212
         $this->status($from, $to, 'Directory');
Please login to merge, or discard this patch.
src/Providers/AdminLTETemplateServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@  discard block
 block discarded – undo
26 26
         }
27 27
 
28 28
         if ($this->app->runningInConsole()) {
29
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class]);
29
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class ]);
30 30
         }
31 31
 
32
-        $this->app->bind('AdminLTE', function () {
32
+        $this->app->bind('AdminLTE', function() {
33 33
             return new \Acacha\AdminLTETemplateLaravel\AdminLTE();
34 34
         });
35 35
 
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         if (!$this->app->routesAreCached()) {
66 66
             $router = app('router');
67 67
 
68
-            $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () {
68
+            $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() {
69 69
                 require __DIR__.'/../Http/routes.php';
70 70
             });
71 71
         }
Please login to merge, or discard this patch.