Completed
Pull Request — master (#137)
by Marek
02:12
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/Installable.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     }
36 36
 
37 37
     /**
38
-     * @param $fileName
38
+     * @param string $fileName
39 39
      * @param string $prompt
40 40
      *
41 41
      * @return bool
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -239,8 +239,8 @@
 block discarded – undo
239 239
             'to'   => new Flysystem(new LocalAdapter($to)),
240 240
         ]);
241 241
         foreach ($manager->listContents('from://', true) as $file) {
242
-            if ($file['type'] === 'file' && (!$manager->has('to://'.$file['path']) || $this->force)) {
243
-                $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path']));
242
+            if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]) || $this->force)) {
243
+                $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ]));
244 244
             }
245 245
         }
246 246
         $this->status($from, $to, 'Directory');
Please login to merge, or discard this patch.
src/Console/PublishAdminLTESidebar.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Console\Command;
6 6
 use Illuminate\Filesystem\Filesystem;
7
-use League\Flysystem\Adapter\Local as LocalAdapter;
8
-use League\Flysystem\Filesystem as Flysystem;
9
-use League\Flysystem\MountManager;
10 7
 
11 8
 /**
12 9
  * Class PublishAdminLTESidebar.
Please login to merge, or discard this patch.
src/Providers/AdminLTETemplateServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,13 +26,13 @@  discard block
 block discarded – undo
26 26
         }
27 27
 
28 28
         if ($this->app->runningInConsole()) {
29
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class]);
30
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class]);
31
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class]);
32
-            $this->commands([\Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class]);
29
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTE::class ]);
30
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTEAlt::class ]);
31
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebar::class ]);
32
+            $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\PublishAdminLTESidebarAlt::class ]);
33 33
         }
34 34
 
35
-        $this->app->bind('AdminLTE', function () {
35
+        $this->app->bind('AdminLTE', function() {
36 36
             return new \Acacha\AdminLTETemplateLaravel\AdminLTE();
37 37
         });
38 38
 
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         if (!$this->app->routesAreCached()) {
72 72
             $router = app('router');
73 73
 
74
-            $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () {
74
+            $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() {
75 75
                 require __DIR__.'/../Http/routes.php';
76 76
             });
77 77
         }
Please login to merge, or discard this patch.