Completed
Push — master ( aaebc2...f6516a )
by Davis
9s
created
src/Davispeixoto/Laravel5Salesforce/config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,5 +13,5 @@
 block discarded – undo
13 13
     'username' => env('SALESFORCE_USERNAME'),
14 14
     'password' => env('SALESFORCE_PASSWORD'),
15 15
     'token' => env('SALESFORCE_TOKEN'),
16
-    'wsdl' => storage_path('app/' . env('SALESFORCE_WSDL', 'wsdl/enterprise.wsdl.xml'))
16
+    'wsdl' => storage_path('app/'.env('SALESFORCE_WSDL', 'wsdl/enterprise.wsdl.xml'))
17 17
 ];
Please login to merge, or discard this patch.
src/Davispeixoto/Laravel5Salesforce/SalesforceServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
      */
31 31
     public function register()
32 32
     {
33
-        $config = __DIR__ . '/config/config.php';
33
+        $config = __DIR__.'/config/config.php';
34 34
         $this->mergeConfigFrom($config, 'salesforce');
35 35
         $this->publishes([$config => config_path('salesforce.php')]);
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
 
Please login to merge, or discard this patch.
src/Davispeixoto/Laravel5Salesforce/Salesforce.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $wsdl = $configExternal->get('salesforce.wsdl');
47 47
 
48 48
         if (empty($wsdl)) {
49
-            $wsdl = __DIR__ . '/Wsdl/enterprise.wsdl.xml';
49
+            $wsdl = __DIR__.'/Wsdl/enterprise.wsdl.xml';
50 50
         }
51 51
 
52 52
         $user = $configExternal->get('salesforce.username');
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             $this->sfh->createConnection($wsdl);
58 58
             $this->sfh->login($user, $pass, $token);
59 59
         } catch (Exception $e) {
60
-            throw new SalesforceException('Exception at Constructor' . $e->getMessage() . "\n\n" . $e->getTraceAsString());
60
+            throw new SalesforceException('Exception at Constructor'.$e->getMessage()."\n\n".$e->getTraceAsString());
61 61
         }
62 62
     }
63 63
 
Please login to merge, or discard this patch.