@@ -9,14 +9,14 @@ discard block |
||
9 | 9 | class ApisGeneratorServiceProviders extends ServiceProvider |
10 | 10 | { |
11 | 11 | |
12 | - public function boot(){ |
|
12 | + public function boot() { |
|
13 | 13 | $this->registerFacades(); |
14 | 14 | $this->publishesPackages(); |
15 | 15 | $this->loadResource(); |
16 | 16 | |
17 | 17 | } |
18 | 18 | |
19 | - public function register(){ |
|
19 | + public function register() { |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -32,13 +32,13 @@ discard block |
||
32 | 32 | */ |
33 | 33 | protected function registerFacades() |
34 | 34 | { |
35 | - $this->app->singleton("KMFileFacade" , function ($app){ |
|
35 | + $this->app->singleton("KMFileFacade", function($app) { |
|
36 | 36 | return new KMFile(); |
37 | 37 | }); |
38 | - $this->app->singleton("KMRoutesFacade" , function ($app){ |
|
38 | + $this->app->singleton("KMRoutesFacade", function($app) { |
|
39 | 39 | return new KMRoutes(); |
40 | 40 | }); |
41 | - $this->app->singleton("KMFunctionsFacade" , function ($app){ |
|
41 | + $this->app->singleton("KMFunctionsFacade", function($app) { |
|
42 | 42 | return new KMFunctions(); |
43 | 43 | }); |
44 | 44 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | $cssPath = "ApisGenerator/css"; |
55 | 55 | $this->publishes([ |
56 | 56 | __DIR__."/../Config/apis_generator.php" => config_path("apis_generator.php") |
57 | - ] , "apis-generator-config"); |
|
57 | + ], "apis-generator-config"); |
|
58 | 58 | |
59 | 59 | $this->publishes([ |
60 | 60 | $asset."create.blade.php" => resource_path("$views/create.blade.php"), |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $asset."_layouts.blade.php" => resource_path("$views/layouts/_layouts.blade.php"), |
64 | 64 | $asset."script.js" => public_path("$scriptPath/script.js"), |
65 | 65 | $asset."css.css" => public_path("$cssPath/css.css"), |
66 | - ] , "apis-generator-asset"); |
|
66 | + ], "apis-generator-asset"); |
|
67 | 67 | |
68 | 68 | } |
69 | 69 |