Passed
Branch master (73b08b)
by Laurens
02:14
created
src/API/Finance/AccountTransaction.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\Finance;
6 6
 
Please login to merge, or discard this patch.
src/API/Finance/Enum/TransactionType.php 1 patch
Spacing   +23 added lines, -23 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\API\Finance\Enum;
6 6
 
@@ -8,26 +8,26 @@  discard block
 block discarded – undo
8 8
 
9 9
 final class TransactionType extends AbstractEnum
10 10
 {
11
-    const CARD_PAYMENT ='CARD_PAYMENT';
12
-    const CARD_REFUND ='CARD_REFUND';
13
-    const BANK_ACCOUNT_VERIFICATION ='BANK_ACCOUNT_VERIFICATION';
14
-    const PAYOUT ='PAYOUT';
15
-    const FAILED_PAYOUT ='FAILED_PAYOUT';
16
-    const CASH_BACK ='CASHBACK';
17
-    const CASH_BACK_PAYOUT ='CASHBACK_PAYOUT';
18
-    const VOUCHER_ACTIVATION ='VOUCHER_ACTIVATION';
19
-    const E_MONEY_TRANSFER ='EMONEY_TRANSFER';
20
-    const TELL_FRIEND ='TELL_FRIEND';
21
-    const FROZEN_FUNDS ='FROZEN_FUNDS';
22
-    const FEE_DISCOUNT_REVOCATION ='FEE_DISCOUNT_REVOCATION';
23
-    const CARD_PAYMENT_FEE ='CARD_PAYMENT_FEE';
24
-    const CARD_PAYMENT_FEE_REFUND ='CARD_PAYMENT_FEE_REFUND';
25
-    const ADVANCE ='ADVANCE';
26
-    const ADVANCE_FEE ='ADVANCE_FEE';
27
-    const ADVANCE_DOWN_PAYMENT ='ADVANCE_DOWNPAYMENT';
28
-    const ADVANCE_FEE_DOWN_PAYMENT ='ADVANCE_FEE_DOWNPAYMENT';
29
-    const SUBSCRIPTION_CHARGE ='SUBSCRIPTION_CHARGE';
30
-    const INVOICE_PAYMENT ='INVOICE_PAYMENT';
31
-    const INVOICE_PAYMENT_FEE ='INVOICE_PAYMENT_FEE';
32
-    const ADJUSTMENT ='ADJUSTMENT';
11
+    const CARD_PAYMENT = 'CARD_PAYMENT';
12
+    const CARD_REFUND = 'CARD_REFUND';
13
+    const BANK_ACCOUNT_VERIFICATION = 'BANK_ACCOUNT_VERIFICATION';
14
+    const PAYOUT = 'PAYOUT';
15
+    const FAILED_PAYOUT = 'FAILED_PAYOUT';
16
+    const CASH_BACK = 'CASHBACK';
17
+    const CASH_BACK_PAYOUT = 'CASHBACK_PAYOUT';
18
+    const VOUCHER_ACTIVATION = 'VOUCHER_ACTIVATION';
19
+    const E_MONEY_TRANSFER = 'EMONEY_TRANSFER';
20
+    const TELL_FRIEND = 'TELL_FRIEND';
21
+    const FROZEN_FUNDS = 'FROZEN_FUNDS';
22
+    const FEE_DISCOUNT_REVOCATION = 'FEE_DISCOUNT_REVOCATION';
23
+    const CARD_PAYMENT_FEE = 'CARD_PAYMENT_FEE';
24
+    const CARD_PAYMENT_FEE_REFUND = 'CARD_PAYMENT_FEE_REFUND';
25
+    const ADVANCE = 'ADVANCE';
26
+    const ADVANCE_FEE = 'ADVANCE_FEE';
27
+    const ADVANCE_DOWN_PAYMENT = 'ADVANCE_DOWNPAYMENT';
28
+    const ADVANCE_FEE_DOWN_PAYMENT = 'ADVANCE_FEE_DOWNPAYMENT';
29
+    const SUBSCRIPTION_CHARGE = 'SUBSCRIPTION_CHARGE';
30
+    const INVOICE_PAYMENT = 'INVOICE_PAYMENT';
31
+    const INVOICE_PAYMENT_FEE = 'INVOICE_PAYMENT_FEE';
32
+    const ADJUSTMENT = 'ADJUSTMENT';
33 33
 }
Please login to merge, or discard this patch.
src/API/Finance/Enum/AccountTypeGroup.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\Finance\Enum;
6 6
 
Please login to merge, or discard this patch.
src/API/Finance/Enum/Periodicity.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\Finance\Enum;
6 6
 
Please login to merge, or discard this patch.
src/API/Finance/PayoutInfo.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\Finance;
6 6
 
Please login to merge, or discard this patch.
src/API/Product/CategoryCollection.php 1 patch
Spacing   +4 added lines, -4 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\API\Product;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     /** @var Category[] */
12 12
     private $collection = [];
13 13
 
14
-    public function __construct(?array $categories = [])
14
+    public function __construct(? array $categories = [])
15 15
     {
16 16
         foreach ($categories as $category) {
17 17
             $this->add($category);
@@ -25,12 +25,12 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function remove(Category $category): void
27 27
     {
28
-        unset($this->collection[(string)$category->getUuid()]);
28
+        unset($this->collection[(string) $category->getUuid()]);
29 29
     }
30 30
 
31 31
     public function get(UuidInterface $key): Category
32 32
     {
33
-        return $this->collection[(string)$key];
33
+        return $this->collection[(string) $key];
34 34
     }
35 35
 
36 36
     /** @return Category[] */
Please login to merge, or discard this patch.
src/API/Product/Library.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\Product;
6 6
 
Please login to merge, or discard this patch.
src/API/Product/ProductCollection.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\API\Product;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     /** @var Product[] */
12 12
     private $collection = [];
13 13
 
14
-    public function __construct(?array $products = [])
14
+    public function __construct(? array $products = [])
15 15
     {
16 16
         foreach ($products as $product) {
17 17
             $this->add($product);
Please login to merge, or discard this patch.
src/API/Product/DiscountCollection.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\API\Product;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     /** @var Discount[] */
12 12
     private $collection = [];
13 13
 
14
-    public function __construct(?array $discounts = [])
14
+    public function __construct(? array $discounts = [])
15 15
     {
16 16
         foreach ($discounts as $discount) {
17 17
             $this->add($discount);
Please login to merge, or discard this patch.