Completed
Push — master ( 483bc3...bfd449 )
by Raza
02:10
created
src/Traits/PayPalRequest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     private function setApiProviderConfiguration($credentials)
190 190
     {
191 191
         // Setting PayPal API Credentials
192
-        collect($credentials[$this->mode])->map(function ($value, $key) {
192
+        collect($credentials[$this->mode])->map(function($value, $key) {
193 193
             $this->config[$key] = $value;
194 194
         });
195 195
 
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     protected function setRequestData(array $data = [])
217 217
     {
218
-        if (($this->post instanceof Collection) && (! $this->post->isEmpty())) {
218
+        if (($this->post instanceof Collection) && (!$this->post->isEmpty())) {
219 219
             unset($this->post);
220 220
         }
221 221
 
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
         ], $this->options);
332 332
 
333 333
         $this->post = $this->post->merge($config)
334
-            ->filter(function ($value, $key) use ($method) {
334
+            ->filter(function($value, $key) use ($method) {
335 335
                 return (($method === 'verifyipn') && ($key === 'METHOD')) ?: $value;
336 336
             });
337 337
     }
Please login to merge, or discard this patch.