Passed
Pull Request — master (#12)
by
unknown
02:52
created
src/services/ApiSalesforce.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         try {
60 60
             $this->lastResponse = $this->httpClient->send($request, $options);
61 61
         } catch (\Exception $e) {
62
-            $requestInfo    = [
62
+            $requestInfo = [
63 63
                 'uri'     => $request->getUri(),
64 64
                 'method'  => $request->getMethod(),
65 65
                 'headers' => $request->getHeaders(),
Please login to merge, or discard this patch.
src/dto/LoginResponseDto.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 
48 48
             //  extract the instance portion of the URL.
49 49
             preg_match('/https:\/\/(.*)\.salesforce\.com/', $this->serverUrl, $matches);
50
-            $this->instance  = $matches[1];
50
+            $this->instance = $matches[1];
51 51
         } catch (\Exception $e) {
52 52
             throw new SFClientException('SF Api waiting behavior changed. Parse response error: ' . $e->getMessage());
53 53
         }
Please login to merge, or discard this patch.
src/helpers/ApiHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public static function getResponse(Request $request, ApiSalesforce $service)
24 24
     {
25 25
         try {
26
-            $response = $service->send($request, [ 'timeout' => 0 ]);
26
+            $response = $service->send($request, ['timeout' => 0]);
27 27
         } catch (\Exception $e) {
28 28
             throw new HttpClientException($e->getMessage());
29 29
         }
Please login to merge, or discard this patch.