@@ -1026,7 +1026,7 @@ discard block |
||
| 1026 | 1026 | throw new TelegramException('Hook url is empty!'); |
| 1027 | 1027 | } |
| 1028 | 1028 | |
| 1029 | - $data = array_intersect_key($data, array_flip([ |
|
| 1029 | + $data = array_intersect_key($data, array_flip([ |
|
| 1030 | 1030 | 'certificate', |
| 1031 | 1031 | 'max_connections', |
| 1032 | 1032 | 'allowed_updates', |
@@ -1162,7 +1162,7 @@ discard block |
||
| 1162 | 1162 | ]); |
| 1163 | 1163 | } |
| 1164 | 1164 | |
| 1165 | - $newUpdate = static function ($text = '') use ($from, $chat) { |
|
| 1165 | + $newUpdate = static function($text = '') use ($from, $chat) { |
|
| 1166 | 1166 | return new Update([ |
| 1167 | 1167 | 'update_id' => -1, |
| 1168 | 1168 | 'message' => [ |