Test Failed
Pull Request — master (#10)
by Laurens
02:11
created
src/API/Inventory/Settings.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Settings/Interval.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory\Settings;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Settings/Exception/EmailAddressNotValidException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory\Settings\Exception;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Settings/NotificationSettings.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory\Settings;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Location/Variant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory\Location;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Location/TypeEnum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory\Location;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Location/Inventory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory\Location;
6 6
 
Please login to merge, or discard this patch.
src/API/Inventory/Location.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi\API\Inventory;
6 6
 
Please login to merge, or discard this patch.
src/IzettleClientFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace LauLamanApps\IzettleApi;
6 6
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
 final class IzettleClientFactory
29 29
 {
30
-    public static function getProductClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null): ProductClient
30
+    public static function getProductClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null) : ProductClient
31 31
     {
32 32
         $categoryBuilder = new CategoryBuilder();
33 33
         $imageBuilder = new ImageBuilder();
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         );
63 63
     }
64 64
 
65
-    public static function getFinanceClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null): FinanceClient
65
+    public static function getFinanceClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null) : FinanceClient
66 66
     {
67 67
         return new FinanceClient(
68 68
             $client,
@@ -72,12 +72,12 @@  discard block
 block discarded – undo
72 72
         );
73 73
     }
74 74
 
75
-    public static function getImageClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null): ImageClient
75
+    public static function getImageClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null) : ImageClient
76 76
     {
77 77
         return new ImageClient($client, $organizationUuid, new ImageBuilder());
78 78
     }
79 79
 
80
-    public static function getInventoryClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null): InventoryClient
80
+    public static function getInventoryClient(IzettleClientInterface $client, ?UuidInterface $organizationUuid = null) : InventoryClient
81 81
     {
82 82
         return new InventoryClient(
83 83
             $client,
Please login to merge, or discard this patch.