@@ -18,15 +18,15 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function register() |
20 | 20 | { |
21 | - if (! defined('ADMINLTETEMPLATE_PATH')) { |
|
21 | + if (!defined('ADMINLTETEMPLATE_PATH')) { |
|
22 | 22 | define('ADMINLTETEMPLATE_PATH', realpath(__DIR__.'/../../')); |
23 | 23 | } |
24 | 24 | |
25 | 25 | if ($this->app->runningInConsole()) { |
26 | - $this->commands([\Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class]); |
|
26 | + $this->commands([ \Acacha\AdminLTETemplateLaravel\Console\AdminLTE::class ]); |
|
27 | 27 | } |
28 | 28 | |
29 | - $this->app->bind('AdminLTE', function () { |
|
29 | + $this->app->bind('AdminLTE', function() { |
|
30 | 30 | return new \Acacha\AdminLTETemplateLaravel\AdminLTE(); |
31 | 31 | }); |
32 | 32 | } |
@@ -51,10 +51,10 @@ discard block |
||
51 | 51 | */ |
52 | 52 | protected function defineRoutes() |
53 | 53 | { |
54 | - if (! $this->app->routesAreCached()) { |
|
54 | + if (!$this->app->routesAreCached()) { |
|
55 | 55 | $router = app('router'); |
56 | 56 | |
57 | - $router->group(['namespace' => $this->getAppNamespace().'Http\Controllers'], function () { |
|
57 | + $router->group([ 'namespace' => $this->getAppNamespace().'Http\Controllers' ], function() { |
|
58 | 58 | require __DIR__.'/../Http/routes.php'; |
59 | 59 | }); |
60 | 60 | } |