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