Completed
Branch master (6159d5)
by Povilas
02:02
created
src/Customer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * @param string $key
68
-     * @param mixed  $value
68
+     * @param string  $value
69 69
      *
70 70
      * @return $this
71 71
      */
Please login to merge, or discard this patch.
src/Common/PurchaseDataGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             'test' => $request->getTestMode() ? '1' : '0',
39 39
         ];
40 40
 
41
-        if(null !== $customer = $request->getCustomer()){
41
+        if (null !== $customer = $request->getCustomer()) {
42 42
             $customerData = [
43 43
                 'p_firstname' => $customer->getFirstName(),
44 44
                 'p_lastname' => $customer->getLastName(),
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     private static function filterParameters(array $parameters)
70 70
     {
71
-        return array_filter($parameters, function ($value) {
71
+        return array_filter($parameters, function($value) {
72 72
             return $value !== '' && $value !== null;
73 73
         });
74 74
     }
Please login to merge, or discard this patch.