@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - protected static $requiredParams = ['message_thread_id', 'name', 'icon_color']; |
|
22 | + protected static $requiredParams = [ 'message_thread_id', 'name', 'icon_color' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * {@inheritdoc} |
@@ -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; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @var array |
24 | 24 | */ |
25 | - protected static $requiredParams = ['file_id']; |
|
25 | + protected static $requiredParams = [ 'file_id' ]; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * {@inheritdoc} |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @var array |
25 | 25 | */ |
26 | - protected static $requiredParams = ['id', 'from']; |
|
26 | + protected static $requiredParams = [ 'id', 'from' ]; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * {@inheritdoc} |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @var array |
13 | 13 | */ |
14 | - protected static $requiredParams = ['user', 'status']; |
|
14 | + protected static $requiredParams = [ 'user', 'status' ]; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * {@inheritdoc} |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @var array |
20 | 20 | */ |
21 | - protected static $requiredParams = ['text', 'voter_count']; |
|
21 | + protected static $requiredParams = [ 'text', 'voter_count' ]; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * {@inheritdoc} |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * @var array |
13 | 13 | */ |
14 | - protected static $requiredParams = ['small_file_id', 'big_file_id']; |
|
14 | + protected static $requiredParams = [ 'small_file_id', 'big_file_id' ]; |
|
15 | 15 | |
16 | 16 | /** |
17 | 17 | * {@inheritdoc} |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - protected static $requiredParams = ['file_id', 'file_unique_id', 'width', 'height', 'duration']; |
|
22 | + protected static $requiredParams = [ 'file_id', 'file_unique_id', 'width', 'height', 'duration' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * {@inheritdoc} |
@@ -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} |