@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $wsdl = $configExternal->get('laravel-salesforce::wsdl'); |
40 | 40 | |
41 | 41 | if (empty($wsdl)) { |
42 | - $wsdl = __DIR__ . '/Wsdl/enterprise.wsdl.xml'; |
|
42 | + $wsdl = __DIR__.'/Wsdl/enterprise.wsdl.xml'; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | $this->sfh->createConnection($wsdl); |
@@ -48,10 +48,10 @@ discard block |
||
48 | 48 | $password = $configExternal->get('laravel-salesforce::password'); |
49 | 49 | $token = $configExternal->get('laravel-salesforce::token'); |
50 | 50 | |
51 | - $this->sfh->login($username, $password . $token); |
|
51 | + $this->sfh->login($username, $password.$token); |
|
52 | 52 | |
53 | 53 | } catch (Exception $e) { |
54 | - throw new SalesforceException('Exception at Constructor' . $e->getMessage() . "\n\n" . $e->getTraceAsString()); |
|
54 | + throw new SalesforceException('Exception at Constructor'.$e->getMessage()."\n\n".$e->getTraceAsString()); |
|
55 | 55 | } |
56 | 56 | } |
57 | 57 |
@@ -13,5 +13,5 @@ |
||
13 | 13 | 'username' => '', |
14 | 14 | 'password' => '', |
15 | 15 | 'token' => '', |
16 | - 'wsdl' => app_path() . '/wsdl/enterprise.wsdl.xml', |
|
16 | + 'wsdl' => app_path().'/wsdl/enterprise.wsdl.xml', |
|
17 | 17 | ); |
@@ -13,5 +13,5 @@ |
||
13 | 13 | 'username' => '', |
14 | 14 | 'password' => '', |
15 | 15 | 'token' => '', |
16 | - 'wsdl' => app_path() . '/wsdl/enterprise.sandbox.wsdl.xml', |
|
16 | + 'wsdl' => app_path().'/wsdl/enterprise.sandbox.wsdl.xml', |
|
17 | 17 | ); |
@@ -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 | } |