@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @var array |
20 | 20 | */ |
21 | - protected static $requiredParams = ['type', 'id', 'phone_number', 'first_name']; |
|
21 | + protected static $requiredParams = [ 'type', 'id', 'phone_number', 'first_name' ]; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * {@inheritdoc} |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * |
30 | 30 | * @var array |
31 | 31 | */ |
32 | - protected static $requiredParams = ['type', 'id', 'audio_url', 'title']; |
|
32 | + protected static $requiredParams = [ 'type', 'id', 'audio_url', 'title' ]; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * {@inheritdoc} |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @var array |
22 | 22 | */ |
23 | - protected static $requiredParams = ['type', 'id', 'mpeg4_url', 'thumb_url']; |
|
23 | + protected static $requiredParams = [ 'type', 'id', 'mpeg4_url', 'thumb_url' ]; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * {@inheritdoc} |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * |
30 | 30 | * @var array |
31 | 31 | */ |
32 | - protected static $requiredParams = ['type', 'id', 'latitude', 'longitude', 'title', 'address']; |
|
32 | + protected static $requiredParams = [ 'type', 'id', 'latitude', 'longitude', 'title', 'address' ]; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * {@inheritdoc} |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @var array |
22 | 22 | */ |
23 | - protected static $requiredParams = ['type', 'id', 'gif_url', 'thumb_url']; |
|
23 | + protected static $requiredParams = [ 'type', 'id', 'gif_url', 'thumb_url' ]; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * {@inheritdoc} |
@@ -29,7 +29,7 @@ |
||
29 | 29 | * |
30 | 30 | * @var array |
31 | 31 | */ |
32 | - protected static $requiredParams = ['type', 'id', 'voice_url', 'title']; |
|
32 | + protected static $requiredParams = [ 'type', 'id', 'voice_url', 'title' ]; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * {@inheritdoc} |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @var array |
20 | 20 | */ |
21 | - protected static $requiredParams = ['type', 'id', 'title', 'input_message_content']; |
|
21 | + protected static $requiredParams = [ 'type', 'id', 'title', 'input_message_content' ]; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * {@inheritdoc} |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @var array |
22 | 22 | */ |
23 | - protected static $requiredParams = ['id', 'from', 'query', 'offset']; |
|
23 | + protected static $requiredParams = [ 'id', 'from', 'query', 'offset' ]; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * {@inheritdoc} |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * |
18 | 18 | * @var array |
19 | 19 | */ |
20 | - protected static $requiredParams = ['inline_keyboard']; |
|
20 | + protected static $requiredParams = [ 'inline_keyboard' ]; |
|
21 | 21 | |
22 | 22 | /** |
23 | 23 | * {@inheritdoc} |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * @param array $inlineKeyboard |
41 | 41 | */ |
42 | - public function __construct($inlineKeyboard = []) |
|
42 | + public function __construct($inlineKeyboard = [ ]) |
|
43 | 43 | { |
44 | 44 | $this->inlineKeyboard = $inlineKeyboard; |
45 | 45 | } |