Completed
Branch master (3ef7e6)
by Davis
07:32 queued 05:22
created
src/Davispeixoto/Laravel5Salesforce/Salesforce.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $wsdl = $configExternal->get('salesforce.wsdl');
25 25
 
26 26
         if (empty($wsdl)) {
27
-            $wsdl = __DIR__ . '/Wsdl/enterprise.wsdl.xml';
27
+            $wsdl = __DIR__.'/Wsdl/enterprise.wsdl.xml';
28 28
         }
29 29
 
30 30
         $user = $configExternal->get('salesforce.username');
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
33 33
 
34 34
         try {
35 35
             $this->sfh->createConnection($wsdl);
36
-            $this->sfh->login($user, $pass . $token);
36
+            $this->sfh->login($user, $pass.$token);
37 37
         } catch (Exception $e) {
38
-            throw new SalesforceException('Exception at Constructor' . $e->getMessage() . "\n\n" . $e->getTraceAsString());
38
+            throw new SalesforceException('Exception at Constructor'.$e->getMessage()."\n\n".$e->getTraceAsString());
39 39
         }
40 40
     }
41 41
 
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
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function boot()
26 26
     {
27
-        $config = __DIR__ . '/config/config.php';
27
+        $config = __DIR__.'/config/config.php';
28 28
         $this->mergeConfigFrom($config, 'salesforce');
29 29
         $this->publishes([$config => config_path('salesforce.php')]);
30 30
     }
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      */
37 37
     public function register()
38 38
     {
39
-        $this->app['salesforce'] = $this->app->share(function ($app) {
39
+        $this->app['salesforce'] = $this->app->share(function($app) {
40 40
             return new Salesforce($app['config']);
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
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.