Test Failed
Push — master ( d4edd8...306fc8 )
by Mr
09:48
created
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.