Test Failed
Pull Request — master (#10)
by Laurens
03:11 queued 10s
created
src/API/Inventory/Settings.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         ];
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $etag
56
+     */
54 57
     private function __construct(
55 58
         ?string $etag = null,
56 59
         string $defaultRefundToLocation,
Please login to merge, or discard this patch.
src/API/Inventory/Settings/NotificationSettings.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     private function validateEmailAddress($emailReceiver): void
67 67
     {
68 68
         if (!filter_var($emailReceiver, FILTER_VALIDATE_EMAIL)) {
69
-         throw new EmailAddressNotValidException(sprintf('\'%s\' is not a valid email address', $emailReceiver));
69
+            throw new EmailAddressNotValidException(sprintf('\'%s\' is not a valid email address', $emailReceiver));
70 70
         }
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/Client/InventoryClient.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -19,21 +19,21 @@
 block discarded – undo
19 19
 
20 20
     const BASE_URL = 'https://inventory.izettle.com/organizations/%s';
21 21
 
22
-    const GET_HISTORY = self::BASE_URL . '/history/locations/%s';
22
+    const GET_HISTORY = self::BASE_URL.'/history/locations/%s';
23 23
 
24
-    const GET_PRODUCT_INVENTORY = self::BASE_URL . '/inventory/locations/%s/products/%s';
25
-    const GET_LOCATION_INVENTORY = self::BASE_URL . '/inventory/locations/%s';
26
-    const POST_INVENTORY = self::BASE_URL . '/inventory';
27
-    const POST_INVENTORY_BULK = self::BASE_URL . '/inventory/bulk';
28
-    const PUT_INVENTORY = self::BASE_URL . '/inventory';
29
-    const DELETE_PRODUCT_INVENTORY = self::BASE_URL . '/inventory/products/%s';
24
+    const GET_PRODUCT_INVENTORY = self::BASE_URL.'/inventory/locations/%s/products/%s';
25
+    const GET_LOCATION_INVENTORY = self::BASE_URL.'/inventory/locations/%s';
26
+    const POST_INVENTORY = self::BASE_URL.'/inventory';
27
+    const POST_INVENTORY_BULK = self::BASE_URL.'/inventory/bulk';
28
+    const PUT_INVENTORY = self::BASE_URL.'/inventory';
29
+    const DELETE_PRODUCT_INVENTORY = self::BASE_URL.'/inventory/products/%s';
30 30
 
31
-    const GET_LOCATIONS = self::BASE_URL . '/locations';
32
-    const PUT_LOCATIONS = self::BASE_URL . '/locations/%s';
31
+    const GET_LOCATIONS = self::BASE_URL.'/locations';
32
+    const PUT_LOCATIONS = self::BASE_URL.'/locations/%s';
33 33
 
34
-    const GET_SETTINGS = self::BASE_URL . '/settings';
35
-    const POST_SETTINGS = self::BASE_URL . '/settings';
36
-    const PUT_SETTINGS = self::BASE_URL . '/settings';
34
+    const GET_SETTINGS = self::BASE_URL.'/settings';
35
+    const POST_SETTINGS = self::BASE_URL.'/settings';
36
+    const PUT_SETTINGS = self::BASE_URL.'/settings';
37 37
 
38 38
     /**
39 39
      * @var IzettleClientInterface
Please login to merge, or discard this patch.