Passed
Branch master (5e8728)
by Oss
02:18
created
src/Brownie/CartsGuru/Model/Item.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,15 +27,15 @@
 block discarded – undo
27 27
 {
28 28
 
29 29
     protected $fields = array(
30
-        'id' => null,               // SKU or product id
31
-        'label' => null,            // Designation
32
-        'quantity' => null,         // Count
33
-        'totalATI' => null,         // Total price included taxes
34
-        'totalET' => null,          // Total price excluded taxes
35
-        'url' => null,              // URL of product sheet
36
-        'imageUrl' => null,         // Image URL of the  product, size should be min 150*150, max 180*180
37
-        'universe' => null,         // Main category of the product (optional)
38
-        'category' => null,         // Sub category of the product (optional)
30
+        'id' => null, // SKU or product id
31
+        'label' => null, // Designation
32
+        'quantity' => null, // Count
33
+        'totalATI' => null, // Total price included taxes
34
+        'totalET' => null, // Total price excluded taxes
35
+        'url' => null, // URL of product sheet
36
+        'imageUrl' => null, // Image URL of the  product, size should be min 150*150, max 180*180
37
+        'universe' => null, // Main category of the product (optional)
38
+        'category' => null, // Sub category of the product (optional)
39 39
     );
40 40
 
41 41
     /**
Please login to merge, or discard this patch.
src/Brownie/CartsGuru/Model/Cart.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -39,30 +39,30 @@
 block discarded – undo
39 39
      * @var array
40 40
      */
41 41
     protected $fields = array(
42
-        'id' => null,                   // Cart reference (use SessionId if you don’t have specific ID).
43
-        'siteId' => null,               // SiteId is part of configuration.
44
-        'creationDate' => null,         // Date of the cart as string in json format
42
+        'id' => null, // Cart reference (use SessionId if you don’t have specific ID).
43
+        'siteId' => null, // SiteId is part of configuration.
44
+        'creationDate' => null, // Date of the cart as string in json format
45 45
                                         //      (2016-07-26T08:21:25.689Z) (optional).
46
-        'totalATI' => null,             // Total price including taxes.
47
-        'totalET' => null,              // Total price excluding taxes.
48
-        'currency' => null,             // Currency, ISO code (optional).
49
-        'accountId' => null,            // Account id of the buyer (we advise to use the email address).
50
-        'ip' => null,                   // Visitor IP address (optional).
51
-        'recoverUrl' => null,           // Link to recover the cart.
46
+        'totalATI' => null, // Total price including taxes.
47
+        'totalET' => null, // Total price excluding taxes.
48
+        'currency' => null, // Currency, ISO code (optional).
49
+        'accountId' => null, // Account id of the buyer (we advise to use the email address).
50
+        'ip' => null, // Visitor IP address (optional).
51
+        'recoverUrl' => null, // Link to recover the cart.
52 52
                                         //      (link to cart with security token included) (optional).
53
-        'civility' => null,             // Use string in this list : 'mister','madam','miss' (optional).
54
-        'lastname' => null,             // Lastname of the buyer (optional).
55
-        'firstname' => null,            // Firstname of the buyer.
56
-        'email' => null,                // Email address.
57
-        'homePhoneNumber' => null,      // Landline phone number (optional).
58
-        'mobilePhoneNumber' => null,    // Mobile phone number (optional).
59
-        'phoneNumber' => null,          // Phone number of buyer, if you don’t know the kind of it (optional).
60
-        'country' => null,              // Country of the buyer (you can send country or country code).
61
-        'countryCode' => null,          // Country ISO code of the buyer (you can send country or country code).
62
-        'custom' => null,               // Any custom fields you want to send with the cart
53
+        'civility' => null, // Use string in this list : 'mister','madam','miss' (optional).
54
+        'lastname' => null, // Lastname of the buyer (optional).
55
+        'firstname' => null, // Firstname of the buyer.
56
+        'email' => null, // Email address.
57
+        'homePhoneNumber' => null, // Landline phone number (optional).
58
+        'mobilePhoneNumber' => null, // Mobile phone number (optional).
59
+        'phoneNumber' => null, // Phone number of buyer, if you don’t know the kind of it (optional).
60
+        'country' => null, // Country of the buyer (you can send country or country code).
61
+        'countryCode' => null, // Country ISO code of the buyer (you can send country or country code).
62
+        'custom' => null, // Any custom fields you want to send with the cart
63 63
                                         //      Standard fields are language (ISO code),
64 64
                                         //      customerGroup and isNewCustomer (Boolean).
65
-        'items' => null,                // Details of each items.
65
+        'items' => null, // Details of each items.
66 66
     );
67 67
 
68 68
     /**
Please login to merge, or discard this patch.
src/Brownie/CartsGuru/Model/Order.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -41,30 +41,30 @@
 block discarded – undo
41 41
      * @var array
42 42
      */
43 43
     protected $fields = array(
44
-        'id' => null,                   // Order reference, the same display to the buyer.
45
-        'siteId' => null,               // SiteId is part of configuration.
46
-        'cartId' => null,               // Cart reference, source of the order (optional).
47
-        'creationDate' => null,         // Date of the order as string in json format
44
+        'id' => null, // Order reference, the same display to the buyer.
45
+        'siteId' => null, // SiteId is part of configuration.
46
+        'cartId' => null, // Cart reference, source of the order (optional).
47
+        'creationDate' => null, // Date of the order as string in json format
48 48
                                         //      (2016-07-26T08:21:25.689Z) (optional).
49
-        'totalATI' => null,             // Amount included taxes and excluded shipping.
50
-        'totalET' => null,              // Amount excluded taxes and excluded shipping.
51
-        'currency' => null,             // Currency, ISO code (optional).
52
-        'paymentMethod' => null,        // Payment method used (optional).
53
-        'state' => null,                // Status of the order.
54
-        'ip' => null,                   // Visitor ip address (optional).
55
-        'accountId' => null,            // Account id of the buyer (use same identifier as Carts).
56
-        'civility' => null,             // Use string in this list : ‘mister','madam','miss' (optional).
57
-        'lastname' => null,             // Lastname of the buyer (optional).
58
-        'firstname' => null,            // Firstname of the buyer.
59
-        'email' => null,                // Email address of the buyer.
60
-        'homePhoneNumber' => null,      // Landline phone number of buyer (optional).
61
-        'mobilePhoneNumber' => null,    // Mobile phone number of buyer (optional).
62
-        'country' => null,              // Country of the buyer (you can send country or country code).
63
-        'countryCode' => null,          // Country ISO code of the buyer (you can send country or country code).
64
-        'custom' => null,               // Any custom fields you want to send with the cart.
49
+        'totalATI' => null, // Amount included taxes and excluded shipping.
50
+        'totalET' => null, // Amount excluded taxes and excluded shipping.
51
+        'currency' => null, // Currency, ISO code (optional).
52
+        'paymentMethod' => null, // Payment method used (optional).
53
+        'state' => null, // Status of the order.
54
+        'ip' => null, // Visitor ip address (optional).
55
+        'accountId' => null, // Account id of the buyer (use same identifier as Carts).
56
+        'civility' => null, // Use string in this list : ‘mister','madam','miss' (optional).
57
+        'lastname' => null, // Lastname of the buyer (optional).
58
+        'firstname' => null, // Firstname of the buyer.
59
+        'email' => null, // Email address of the buyer.
60
+        'homePhoneNumber' => null, // Landline phone number of buyer (optional).
61
+        'mobilePhoneNumber' => null, // Mobile phone number of buyer (optional).
62
+        'country' => null, // Country of the buyer (you can send country or country code).
63
+        'countryCode' => null, // Country ISO code of the buyer (you can send country or country code).
64
+        'custom' => null, // Any custom fields you want to send with the cart.
65 65
                                         //      Standard fields are language (ISO code),
66 66
                                         //      customerGroup and isNewCustomer (Boolean).
67
-        'items' => null,                // Details of each items.
67
+        'items' => null, // Details of each items.
68 68
     );
69 69
 
70 70
     /**
Please login to merge, or discard this patch.