@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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; |