Passed
Branch master (73b08b)
by Laurens
02:14
created
src/Client/Purchase/CoordinatesBuilder.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\Client\Purchase;
6 6
 
Please login to merge, or discard this patch.
src/Client/Purchase/PurchaseBuilder.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\Client\Purchase;
6 6
 
Please login to merge, or discard this patch.
src/Client/Purchase/VatBuilder.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\Client\Purchase;
6 6
 
Please login to merge, or discard this patch.
src/Client/Purchase/ProductBuilder.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\Client\Purchase;
6 6
 
Please login to merge, or discard this patch.
src/Client/Purchase/PaymentBuilder.php 1 patch
Spacing   +2 added lines, -2 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\Client\Purchase;
6 6
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 return $this->parseVippsPayment($payment, $currency);
54 54
         }
55 55
 
56
-        throw new PaymentTypeNotConfiguredException('Payment type \'' . $payment['type'] . '\' not configured');
56
+        throw new PaymentTypeNotConfiguredException('Payment type \''.$payment['type'].'\' not configured');
57 57
     }
58 58
 
59 59
     private function parseCardPayment($payment, Currency $currency): CardPayment
Please login to merge, or discard this patch.
src/Client/Finance/PayoutInfoBuilder.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\Client\Finance;
6 6
 
Please login to merge, or discard this patch.
src/Client/Finance/PayoutInfoBuilderInterface.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\Client\Finance;
6 6
 
Please login to merge, or discard this patch.
src/Client/Finance/AccountTransactionBuilder.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\Client\Finance;
6 6
 
Please login to merge, or discard this patch.
src/Client/PurchaseClient.php 1 patch
Spacing   +3 added lines, -3 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\Client;
6 6
 
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 {
18 18
     const BASE_URL = 'https://purchase.izettle.com';
19 19
 
20
-    const GET_PURCHASE = self::BASE_URL . '/purchase/v2/%s';
21
-    const GET_PURCHASES = self::BASE_URL . '/purchases/v2';
20
+    const GET_PURCHASE = self::BASE_URL.'/purchase/v2/%s';
21
+    const GET_PURCHASES = self::BASE_URL.'/purchases/v2';
22 22
 
23 23
     private $client;
24 24
     private $purchaseHistoryBuilder;
Please login to merge, or discard this patch.