@@ -10,9 +10,9 @@ |
||
10 | 10 | */ |
11 | 11 | public static function fromResponse($data) |
12 | 12 | { |
13 | - $arrayOfLabeledPrice = []; |
|
13 | + $arrayOfLabeledPrice = [ ]; |
|
14 | 14 | foreach ($data as $labeledPrice) { |
15 | - $arrayOfLabeledPrice[] = LabeledPrice::fromResponse($labeledPrice); |
|
15 | + $arrayOfLabeledPrice[ ] = LabeledPrice::fromResponse($labeledPrice); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | return $arrayOfLabeledPrice; |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * |
13 | 13 | * @var array |
14 | 14 | */ |
15 | - protected static $requiredParams = []; |
|
15 | + protected static $requiredParams = [ ]; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * {@inheritdoc} |
@@ -12,7 +12,7 @@ |
||
12 | 12 | * |
13 | 13 | * @var array |
14 | 14 | */ |
15 | - protected static $requiredParams = ['data', 'button_text']; |
|
15 | + protected static $requiredParams = [ 'data', 'button_text' ]; |
|
16 | 16 | |
17 | 17 | /** |
18 | 18 | * {@inheritdoc} |