@@ -26,25 +26,25 @@ discard block |
||
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]); |
|
33 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeAdminUserSeeder::class]); |
|
34 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdmin::class]); |
|
35 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdminAlt::class]); |
|
36 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeView::class]); |
|
37 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenu::class]); |
|
38 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenuAlt::class]); |
|
39 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeRoute::class]); |
|
40 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeMenu::class]); |
|
41 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeV::class]); |
|
42 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeVC::class]); |
|
43 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\MakeMVC::class]); |
|
44 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\Username::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 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeAdminUserSeeder::class ]); |
|
34 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdmin::class ]); |
|
35 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEAdminAlt::class ]); |
|
36 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeView::class ]); |
|
37 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenu::class ]); |
|
38 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTEMenuAlt::class ]); |
|
39 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeRoute::class ]); |
|
40 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeMenu::class ]); |
|
41 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeV::class ]); |
|
42 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeVC::class ]); |
|
43 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\MakeMVC::class ]); |
|
44 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\Username::class ]); |
|
45 | 45 | } |
46 | 46 | |
47 | - $this->app->bind('AdminLTE', function () { |
|
47 | + $this->app->bind('AdminLTE', function() { |
|
48 | 48 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
49 | 49 | }); |
50 | 50 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | $this->registerGuestUserProvider(); |
57 | 57 | } |
58 | 58 | if (config('auth.providers.users.field', 'email') === 'username') { |
59 | - $this->loadMigrationsFrom( ADMINLTETEMPLATE_PATH .'/database/migrations/username_login'); |
|
59 | + $this->loadMigrationsFrom(ADMINLTETEMPLATE_PATH.'/database/migrations/username_login'); |
|
60 | 60 | } |
61 | 61 | } |
62 | 62 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | if (!$this->app->routesAreCached()) { |
111 | 111 | $router = app('router'); |
112 | 112 | |
113 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
113 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
114 | 114 | require __DIR__.'/../Http/routes.php'; |
115 | 115 | }); |
116 | 116 | } |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::table('users', function (Blueprint $table) { |
|
16 | + Schema::table('users', function(Blueprint $table) { |
|
17 | 17 | $table->string('username')->unique()->nullable(); |
18 | 18 | }); |
19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | */ |
26 | 26 | public function down() |
27 | 27 | { |
28 | - Schema::table('users', function (Blueprint $table) { |
|
28 | + Schema::table('users', function(Blueprint $table) { |
|
29 | 29 | $table->dropColumn('username'); |
30 | 30 | }); |
31 | 31 | } |