Completed
Push — master ( ed5034...64bcd9 )
by Armando
02:01
created
src/Entities/InlineKeyboardButton.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,13 +46,13 @@
 block discarded – undo
46 46
     {
47 47
         return is_array($data) &&
48 48
                array_key_exists('text', $data) && (
49
-                   array_key_exists('url', $data) ||
49
+                    array_key_exists('url', $data) ||
50 50
                    array_key_exists('callback_data', $data) ||
51 51
                    array_key_exists('switch_inline_query', $data) ||
52 52
                    array_key_exists('switch_inline_query_current_chat', $data) ||
53 53
                    array_key_exists('callback_game', $data) ||
54 54
                    array_key_exists('pay', $data)
55
-               );
55
+                );
56 56
     }
57 57
 
58 58
     /**
Please login to merge, or discard this patch.
src/Entities/ServerResponse.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -112,12 +112,12 @@
 block discarded – undo
112 112
 
113 113
         $result_object_types = [
114 114
             'total_count' => 'UserProfilePhotos', //Response from getUserProfilePhotos
115
-            'stickers'    => 'StickerSet',        //Response from getStickerSet
116
-            'file_id'     => 'File',              //Response from getFile
117
-            'title'       => 'Chat',              //Response from getChat
118
-            'username'    => 'User',              //Response from getMe
119
-            'user'        => 'ChatMember',        //Response from getChatMember
120
-            'url'         => 'WebhookInfo',       //Response from getWebhookInfo
115
+            'stickers'    => 'StickerSet', //Response from getStickerSet
116
+            'file_id'     => 'File', //Response from getFile
117
+            'title'       => 'Chat', //Response from getChat
118
+            'username'    => 'User', //Response from getMe
119
+            'user'        => 'ChatMember', //Response from getChatMember
120
+            'url'         => 'WebhookInfo', //Response from getWebhookInfo
121 121
         ];
122 122
         foreach ($result_object_types as $type => $object_class) {
123 123
             if (isset($result[$type])) {
Please login to merge, or discard this patch.