@@ -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 | ); |
@@ -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 |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $wsdl = $configExternal->get('laravel-salesforce::wsdl'); |
54 | 54 | |
55 | 55 | if (empty($wsdl)) { |
56 | - $wsdl = __DIR__ . '/Wsdl/enterprise.wsdl.xml'; |
|
56 | + $wsdl = __DIR__.'/Wsdl/enterprise.wsdl.xml'; |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | $username = $configExternal->get('laravel-salesforce::username'); |
@@ -62,9 +62,9 @@ discard block |
||
62 | 62 | |
63 | 63 | try { |
64 | 64 | $this->sfh->createConnection($wsdl); |
65 | - $this->sfh->login($username, $password . $token); |
|
65 | + $this->sfh->login($username, $password.$token); |
|
66 | 66 | } catch (Exception $e) { |
67 | - throw new SalesforceException('Exception at Constructor' . $e->getMessage() . "\n\n" . $e->getTraceAsString()); |
|
67 | + throw new SalesforceException('Exception at Constructor'.$e->getMessage()."\n\n".$e->getTraceAsString()); |
|
68 | 68 | } |
69 | 69 | } |
70 | 70 |