Completed
Push — master ( 096241...7a0a51 )
by Raza
02:29
created
src/Traits/PayPalRequest.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -122,14 +122,14 @@
 block discarded – undo
122 122
      */
123 123
     protected function setClient($certificate = '')
124 124
     {
125
-	$curlConfig = [
125
+    $curlConfig = [
126 126
                 CURLOPT_SSLVERSION     => CURL_SSLVERSION_TLSv1_2,
127 127
                 CURLOPT_SSL_VERIFYPEER => $this->validateSSL,
128
-	];
128
+    ];
129 129
 
130
-	if(!empty($certificate)) {
131
-	    $curlConfig[CURLOPT_SSLCERT] = $certificate;
132
-	}
130
+    if(!empty($certificate)) {
131
+        $curlConfig[CURLOPT_SSLCERT] = $certificate;
132
+    }
133 133
 
134 134
         $this->client = new HttpClient([
135 135
             'curl' => $curlConfig
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
                 CURLOPT_SSL_VERIFYPEER => $this->validateSSL,
128 128
 	];
129 129
 
130
-	if(!empty($certificate)) {
130
+	if (!empty($certificate)) {
131 131
 	    $curlConfig[CURLOPT_SSLCERT] = $certificate;
132 132
 	}
133 133
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
     private function setApiProviderConfiguration($credentials)
201 201
     {
202 202
         // Setting PayPal API Credentials
203
-        collect($credentials[$this->mode])->map(function ($value, $key) {
203
+        collect($credentials[$this->mode])->map(function($value, $key) {
204 204
             $this->config[$key] = $value;
205 205
         });
206 206
 
Please login to merge, or discard this patch.