@@ -32,8 +32,8 @@ |
||
32 | 32 | $this->call('db:seed', [ |
33 | 33 | '--class' => basename(config('AdminUserSeeder', 'AdminUserSeeder.php'), ".php") |
34 | 34 | ]); |
35 | - $this->info('User ' . $this->username() . '(' . $this->email() . ') ' . |
|
36 | - $this->passwordInfo() . ' created succesfully!'); |
|
35 | + $this->info('User '.$this->username().'('.$this->email().') '. |
|
36 | + $this->passwordInfo().' created succesfully!'); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -91,8 +91,8 @@ discard block |
||
91 | 91 | 'to' => new Flysystem(new LocalAdapter($to)), |
92 | 92 | ]); |
93 | 93 | foreach ($manager->listContents('from://', true) as $file) { |
94 | - if ($file['type'] === 'file' && (!$manager->has('to://'.$file['path']) || $this->force)) { |
|
95 | - $manager->put('to://'.$file['path'], $manager->read('from://'.$file['path'])); |
|
94 | + if ($file[ 'type' ] === 'file' && (!$manager->has('to://'.$file[ 'path' ]) || $this->force)) { |
|
95 | + $manager->put('to://'.$file[ 'path' ], $manager->read('from://'.$file[ 'path' ])); |
|
96 | 96 | } |
97 | 97 | } |
98 | 98 | $this->status($from, $to, 'Directory'); |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | { |
112 | 112 | $from = str_replace(base_path(), '', realpath($from)); |
113 | 113 | $to = str_replace(base_path(), '', realpath($to)); |
114 | - $this->line('<info>Copied '. $type. '</info> <comment>['. $from. |
|
114 | + $this->line('<info>Copied '.$type.'</info> <comment>['.$from. |
|
115 | 115 | ']</comment> <info>To</info> <comment>['.$to.']</comment>'); |
116 | 116 | } |
117 | 117 | } |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | { |
65 | 65 | try { |
66 | 66 | $this->filesystem->overwrite( |
67 | - $path = database_path('seeds/' . config('AdminUserSeeder', 'AdminUserSeeder.php')), |
|
67 | + $path = database_path('seeds/'.config('AdminUserSeeder', 'AdminUserSeeder.php')), |
|
68 | 68 | $this->compiler->compile( |
69 | 69 | $this->filesystem->get($this->getStubPath()), |
70 | 70 | [ |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | ] |
74 | 74 | ) |
75 | 75 | ); |
76 | - $this->info('File ' . $path . ' created'); |
|
76 | + $this->info('File '.$path.' created'); |
|
77 | 77 | } catch (\Exception $e) { |
78 | 78 | print_r($e->getMessage()); |
79 | 79 | } |
@@ -86,6 +86,6 @@ discard block |
||
86 | 86 | */ |
87 | 87 | protected function getStubPath() |
88 | 88 | { |
89 | - return __DIR__ . '/stubs/AdminUserSeeder.php.stub'; |
|
89 | + return __DIR__.'/stubs/AdminUserSeeder.php.stub'; |
|
90 | 90 | } |
91 | 91 | } |
@@ -26,16 +26,16 @@ 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]); |
|
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 | 36 | } |
37 | 37 | |
38 | - $this->app->bind('AdminLTE', function () { |
|
38 | + $this->app->bind('AdminLTE', function() { |
|
39 | 39 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
40 | 40 | }); |
41 | 41 | |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | if (!$this->app->routesAreCached()) { |
96 | 96 | $router = app('router'); |
97 | 97 | |
98 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
98 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
99 | 99 | require __DIR__.'/../Http/routes.php'; |
100 | 100 | }); |
101 | 101 | } |