@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * |
18 | 18 | * @var array |
19 | 19 | */ |
20 | - static protected $requiredParams = ['inline_keyboard']; |
|
20 | + static protected $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 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - static protected $requiredParams = ['result_id', 'from', 'query']; |
|
22 | + static protected $requiredParams = [ 'result_id', 'from', 'query' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * {@inheritdoc} |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @var array |
26 | 26 | */ |
27 | - static protected $requiredParams = ['location', 'title', 'address']; |
|
27 | + static protected $requiredParams = [ 'location', 'title', 'address' ]; |
|
28 | 28 | |
29 | 29 | /** |
30 | 30 | * {@inheritdoc} |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * |
22 | 22 | * @var array |
23 | 23 | */ |
24 | - static protected $requiredParams = ['poll_id', 'option_ids', 'user']; |
|
24 | + static protected $requiredParams = [ 'poll_id', 'option_ids', 'user' ]; |
|
25 | 25 | |
26 | 26 | /** |
27 | 27 | * {@inheritdoc} |
@@ -6,9 +6,9 @@ |
||
6 | 6 | { |
7 | 7 | public static function fromResponse($data) |
8 | 8 | { |
9 | - $arrayOfPhotoSize = []; |
|
9 | + $arrayOfPhotoSize = [ ]; |
|
10 | 10 | foreach ($data as $photoSizeItem) { |
11 | - $arrayOfPhotoSize[] = PhotoSize::fromResponse($photoSizeItem); |
|
11 | + $arrayOfPhotoSize[ ] = PhotoSize::fromResponse($photoSizeItem); |
|
12 | 12 | } |
13 | 13 | |
14 | 14 | return $arrayOfPhotoSize; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - static protected $requiredParams = ['force_reply']; |
|
22 | + static protected $requiredParams = [ 'force_reply' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * {@inheritdoc} |
@@ -18,7 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @var array |
20 | 20 | */ |
21 | - static protected $requiredParams = ['remove_keyboard']; |
|
21 | + static protected $requiredParams = [ 'remove_keyboard' ]; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * {@inheritdoc} |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @var array |
21 | 21 | */ |
22 | - static protected $requiredParams = ['file_id', 'file_unique_id', 'width', 'height']; |
|
22 | + static protected $requiredParams = [ 'file_id', 'file_unique_id', 'width', 'height' ]; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * {@inheritdoc} |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * |
43 | 43 | * @var array |
44 | 44 | */ |
45 | - static protected $requiredParams = ['type', 'offset', 'length']; |
|
45 | + static protected $requiredParams = [ 'type', 'offset', 'length' ]; |
|
46 | 46 | |
47 | 47 | /** |
48 | 48 | * {@inheritdoc} |