@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function register() |
| 36 | 36 | { |
| 37 | - $this->app['salesforce'] = $this->app->singleton('salesforce', function ($app) { |
|
| 37 | + $this->app['salesforce'] = $this->app->singleton('salesforce', function($app) { |
|
| 38 | 38 | $sf = new Salesforce(new Client()); |
| 39 | 39 | $sf->connect($app['config']); |
| 40 | 40 | |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $wsdl = $configExternal->get('salesforce.wsdl'); |
| 53 | 53 | |
| 54 | 54 | if (empty($wsdl)) { |
| 55 | - $wsdl = __DIR__ . '/Wsdl/enterprise.wsdl.xml'; |
|
| 55 | + $wsdl = __DIR__.'/Wsdl/enterprise.wsdl.xml'; |
|
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | $user = $configExternal->get('salesforce.username'); |
@@ -61,9 +61,9 @@ discard block |
||
| 61 | 61 | |
| 62 | 62 | try { |
| 63 | 63 | $this->sfh->createConnection($wsdl); |
| 64 | - $this->sfh->login($user, $pass . $token); |
|
| 64 | + $this->sfh->login($user, $pass.$token); |
|
| 65 | 65 | } catch (Exception $e) { |
| 66 | - throw new SalesforceException('Exception at Constructor' . $e->getMessage() . "\n\n" . $e->getTraceAsString()); |
|
| 66 | + throw new SalesforceException('Exception at Constructor'.$e->getMessage()."\n\n".$e->getTraceAsString()); |
|
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | |