@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @var array |
17 | 17 | */ |
18 | - static protected $requiredParams = ['country_code', 'state', 'city', 'street_line1', 'street_line2', 'post_code']; |
|
18 | + static protected $requiredParams = [ 'country_code', 'state', 'city', 'street_line1', 'street_line2', 'post_code' ]; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @var array |
@@ -6,9 +6,9 @@ |
||
6 | 6 | { |
7 | 7 | public static function fromResponse($data) |
8 | 8 | { |
9 | - $arrayOfLabeledPrice = []; |
|
9 | + $arrayOfLabeledPrice = [ ]; |
|
10 | 10 | foreach ($data as $labeledPrice) { |
11 | - $arrayOfLabeledPrice[] = LabeledPrice::fromResponse($labeledPrice); |
|
11 | + $arrayOfLabeledPrice[ ] = LabeledPrice::fromResponse($labeledPrice); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | return $arrayOfLabeledPrice; |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @var array |
17 | 17 | */ |
18 | - static protected $requiredParams = ['label', 'amount']; |
|
18 | + static protected $requiredParams = [ 'label', 'amount' ]; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @var array |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - static protected $requiredParams = ['id', 'from', 'currency', 'total_amount', 'invoice_payload']; |
|
22 | + static protected $requiredParams = [ 'id', 'from', 'currency', 'total_amount', 'invoice_payload' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @var array |
@@ -16,7 +16,7 @@ |
||
16 | 16 | /** |
17 | 17 | * @var array |
18 | 18 | */ |
19 | - static protected $requiredParams = ['pre_checkout_query_id', 'ok']; |
|
19 | + static protected $requiredParams = [ 'pre_checkout_query_id', 'ok' ]; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @var array |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @var array |
19 | 19 | */ |
20 | - static protected $requiredParams = ['shipping_query_id', 'ok']; |
|
20 | + static protected $requiredParams = [ 'shipping_query_id', 'ok' ]; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * @var array |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * @var array |
20 | 20 | */ |
21 | - static protected $requiredParams = ['id', 'from', 'invoice_payload', 'shipping_address']; |
|
21 | + static protected $requiredParams = [ 'id', 'from', 'invoice_payload', 'shipping_address' ]; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * {@inheritdoc} |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @var array |
17 | 17 | */ |
18 | - static protected $requiredParams = []; |
|
18 | + static protected $requiredParams = [ ]; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @var array |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * @var array |
17 | 17 | */ |
18 | - static protected $requiredParams = ['id', 'title', 'prices']; |
|
18 | + static protected $requiredParams = [ 'id', 'title', 'prices' ]; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @var array |