@@ -6,43 +6,43 @@ |
||
6 | 6 | |
7 | 7 | class LaravelSalesforceServiceProvider extends ServiceProvider |
8 | 8 | { |
9 | - /** |
|
10 | - * Indicates if loading of the provider is deferred. |
|
11 | - * |
|
12 | - * @var bool |
|
13 | - */ |
|
14 | - protected $defer = true; |
|
9 | + /** |
|
10 | + * Indicates if loading of the provider is deferred. |
|
11 | + * |
|
12 | + * @var bool |
|
13 | + */ |
|
14 | + protected $defer = true; |
|
15 | 15 | |
16 | - /** |
|
17 | - * Bootstrap the application events. |
|
18 | - * |
|
19 | - * @return void |
|
20 | - */ |
|
21 | - public function boot() |
|
22 | - { |
|
23 | - $this->package('davispeixoto/laravel-salesforce'); |
|
24 | - } |
|
16 | + /** |
|
17 | + * Bootstrap the application events. |
|
18 | + * |
|
19 | + * @return void |
|
20 | + */ |
|
21 | + public function boot() |
|
22 | + { |
|
23 | + $this->package('davispeixoto/laravel-salesforce'); |
|
24 | + } |
|
25 | 25 | |
26 | - /** |
|
27 | - * Register the service provider. |
|
28 | - * |
|
29 | - * @return void |
|
30 | - */ |
|
31 | - public function register() |
|
32 | - { |
|
33 | - $this->app['salesforce'] = $this->app->share(function ($app) { |
|
34 | - return new Salesforce($app['config']); |
|
35 | - }); |
|
36 | - } |
|
26 | + /** |
|
27 | + * Register the service provider. |
|
28 | + * |
|
29 | + * @return void |
|
30 | + */ |
|
31 | + public function register() |
|
32 | + { |
|
33 | + $this->app['salesforce'] = $this->app->share(function ($app) { |
|
34 | + return new Salesforce($app['config']); |
|
35 | + }); |
|
36 | + } |
|
37 | 37 | |
38 | - /** |
|
39 | - * Get the services provided by the provider. |
|
40 | - * |
|
41 | - * @return array |
|
42 | - */ |
|
43 | - public function provides() |
|
44 | - { |
|
45 | - return array('salesforce'); |
|
46 | - } |
|
38 | + /** |
|
39 | + * Get the services provided by the provider. |
|
40 | + * |
|
41 | + * @return array |
|
42 | + */ |
|
43 | + public function provides() |
|
44 | + { |
|
45 | + return array('salesforce'); |
|
46 | + } |
|
47 | 47 | |
48 | 48 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function register() |
32 | 32 | { |
33 | - $this->app['salesforce'] = $this->app->share(function ($app) { |
|
33 | + $this->app['salesforce'] = $this->app->share(function($app) { |
|
34 | 34 | return new Salesforce($app['config']); |
35 | 35 | }); |
36 | 36 | } |