@@ -6,9 +6,9 @@ |
||
6 | 6 | { |
7 | 7 | public static function fromResponse($data) |
8 | 8 | { |
9 | - $arrayOfChatMemberEntity = []; |
|
9 | + $arrayOfChatMemberEntity = [ ]; |
|
10 | 10 | foreach ($data as $chatMemberEntity) { |
11 | - $arrayOfChatMemberEntity[] = ChatMember::fromResponse($chatMemberEntity); |
|
11 | + $arrayOfChatMemberEntity[ ] = ChatMember::fromResponse($chatMemberEntity); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | return $arrayOfChatMemberEntity; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - protected static $requiredParams = ['name', 'title', 'sticker_type', 'is_animated', 'is_video', 'stickers']; |
|
22 | + protected static $requiredParams = [ 'name', 'title', 'sticker_type', 'is_animated', 'is_video', 'stickers' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * {@inheritdoc} |
@@ -6,9 +6,9 @@ |
||
6 | 6 | { |
7 | 7 | public static function fromResponse($data) |
8 | 8 | { |
9 | - $arrayOfStickers = []; |
|
9 | + $arrayOfStickers = [ ]; |
|
10 | 10 | foreach ($data as $sticker) { |
11 | - $arrayOfStickers[] = Sticker::fromResponse($sticker); |
|
11 | + $arrayOfStickers[ ] = Sticker::fromResponse($sticker); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | return $arrayOfStickers; |
@@ -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} |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * |
24 | 24 | * @var array |
25 | 25 | */ |
26 | - static protected $requiredParams = ['update_id']; |
|
26 | + static protected $requiredParams = [ 'update_id' ]; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * {@inheritdoc} |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @var array |
20 | 20 | */ |
21 | - static protected $requiredParams = ['type', 'media']; |
|
21 | + static protected $requiredParams = [ 'type', 'media' ]; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * {@inheritdoc} |
@@ -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 |