@@ -29,11 +29,11 @@ |
||
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 |
@@ -32,12 +32,12 @@ |
||
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 |
@@ -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 | } |
@@ -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 | } |