Completed
Push — master ( f3ec26...ae0444 )
by Mr
03:36
created
src/Models/TransactionRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         return [
18 18
             'basket_id' => 'string',
19
-            'payment'   => 'float',      // The payment for the basket
19
+            'payment'   => 'float', // The payment for the basket
20 20
         ];
21 21
     }
22 22
 }
Please login to merge, or discard this patch.
src/Models/Customer.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     public function allowed(): array
40 40
     {
41 41
         return [
42
-            'id'            => 'int',    // The unique id for the customer object.
42
+            'id'            => 'int', // The unique id for the customer object.
43 43
             'ref'           => 'string', // The unique reference for the customer.
44 44
             'ip'            => 'string', // The ip of the customer.
45 45
             'first_name'    => 'string', // The first name of the customer.
@@ -55,14 +55,14 @@  discard block
 block discarded – undo
55 55
             'postcode'      => 'string', // The postcode of the customer.
56 56
             'country'       => 'string', // The country of the customer.
57 57
             'image'         => 'string', // The profile image of the customer.
58
-            'sales_total'   => 'float',  // The sales (bookings/purchases) total for the customer.
59
-            'paid_total'    => 'float',  // The paid total for the customer.
60
-            'due_total'     => 'float',  // The due total for the customer.
58
+            'sales_total'   => 'float', // The sales (bookings/purchases) total for the customer.
59
+            'paid_total'    => 'float', // The paid total for the customer.
60
+            'due_total'     => 'float', // The due total for the customer.
61 61
             // TODO: implement validation like "array of objects"
62 62
             'custom_fields' => 'array[CustomField]', // The custom fields for this customer, as dictated by the customers settings. Pass an array of objects.
63
-            'credit_total'  => 'float',  // The total amount of credit for the customer.
64
-            'waiver_signed' => 'bool',   // If the customer has signed the waiver, if applicable.
65
-            'waiver'        => 'bool',   // If signed, the waiver object for the customer .
63
+            'credit_total'  => 'float', // The total amount of credit for the customer.
64
+            'waiver_signed' => 'bool', // If the customer has signed the waiver, if applicable.
65
+            'waiver'        => 'bool', // If signed, the waiver object for the customer .
66 66
         ];
67 67
     }
68 68
 }
Please login to merge, or discard this patch.
configs/resova-api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     'base_uri'        => 'https://api.resova.eu/v1',
7 7
     'user_agent'      => 'Laravel wrapper of Resova PHP Client',
8 8
     'timeout'         => 20,
9
-    'tries'           => 2,  // Count of tries
9
+    'tries'           => 2, // Count of tries
10 10
     'seconds'         => 10, // Waiting time per each try
11 11
     'debug'           => false,
12 12
     'track_redirects' => false,
Please login to merge, or discard this patch.