@@ -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 | ); |
@@ -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 |
@@ -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 |