@@ -12,20 +12,20 @@ discard block |
||
12 | 12 | class UnderstandLaravel5ServiceProvider extends ServiceProvider |
13 | 13 | { |
14 | 14 | |
15 | - /** |
|
16 | - * Indicates if loading of the provider is deferred. |
|
17 | - * |
|
18 | - * @var bool |
|
19 | - */ |
|
20 | - protected $defer = false; |
|
21 | - |
|
22 | - /** |
|
23 | - * Bootstrap the application events. |
|
24 | - * |
|
25 | - * @return void |
|
26 | - */ |
|
27 | - public function boot() |
|
28 | - { |
|
15 | + /** |
|
16 | + * Indicates if loading of the provider is deferred. |
|
17 | + * |
|
18 | + * @var bool |
|
19 | + */ |
|
20 | + protected $defer = false; |
|
21 | + |
|
22 | + /** |
|
23 | + * Bootstrap the application events. |
|
24 | + * |
|
25 | + * @return void |
|
26 | + */ |
|
27 | + public function boot() |
|
28 | + { |
|
29 | 29 | $configPath = __DIR__ . '/../../config/understand-laravel.php'; |
30 | 30 | $this->publishes([$configPath => config_path('understand-laravel.php')], 'config'); |
31 | 31 | $enabled = $this->app['config']->get('understand-laravel.enabled'); |
@@ -41,14 +41,14 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | $this->registerBladeDirectives(); |
44 | - } |
|
44 | + } |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * Register Blade directives. |
48 | 48 | * |
49 | 49 | * @return void |
50 | 50 | */ |
51 | - protected function registerBladeDirectives() |
|
51 | + protected function registerBladeDirectives() |
|
52 | 52 | { |
53 | 53 | $configuration = UnderstandJsProvider::getJsConfig(); |
54 | 54 | |
@@ -95,14 +95,14 @@ discard block |
||
95 | 95 | } |
96 | 96 | } |
97 | 97 | |
98 | - /** |
|
99 | - * Register the service provider. |
|
100 | - * |
|
101 | - * @return void |
|
102 | - */ |
|
103 | - public function register() |
|
104 | - { |
|
105 | - $this->registerConfig(); |
|
98 | + /** |
|
99 | + * Register the service provider. |
|
100 | + * |
|
101 | + * @return void |
|
102 | + */ |
|
103 | + public function register() |
|
104 | + { |
|
105 | + $this->registerConfig(); |
|
106 | 106 | $this->registerFieldProvider(); |
107 | 107 | $this->registerJsProvider(); |
108 | 108 | $this->registerDataCollector(); |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | $this->registerLogger(); |
111 | 111 | $this->registerExceptionEncoder(); |
112 | 112 | $this->registerEventLoggers(); |
113 | - } |
|
113 | + } |
|
114 | 114 | |
115 | 115 | /** |
116 | 116 | * Register config |