Completed
Pull Request — develop (#291)
by Armando
03:42
created
src/Entities/InlineKeyboardButton.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         return is_array($data) &&
42 42
             array_key_exists('text', $data) && (
43
-                   array_key_exists('url', $data) ||
43
+                    array_key_exists('url', $data) ||
44 44
                    array_key_exists('callback_data', $data) ||
45 45
                    array_key_exists('switch_inline_query', $data)
46 46
             );
Please login to merge, or discard this patch.
src/Entities/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -278,8 +278,8 @@
 block discarded – undo
278 278
     public function stripMarkDown($string)
279 279
     {
280 280
         return str_replace(
281
-            ['[', '`', '*', '_',],
282
-            ['\[', '\`', '\*', '\_',],
281
+            ['[', '`', '*', '_', ],
282
+            ['\[', '\`', '\*', '\_', ],
283 283
             $string
284 284
         );
285 285
     }
Please login to merge, or discard this patch.
src/Entities/Keyboard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
         $data = reset($args);
92 92
 
93
-        if ($from_data = array_key_exists($keyboard_type, (array)$data)) {
93
+        if ($from_data = array_key_exists($keyboard_type, (array) $data)) {
94 94
             $args = $data[$keyboard_type];
95 95
 
96 96
             // Make sure we're working with a proper row.
Please login to merge, or discard this patch.